Commit Graph

25 Commits

Author SHA1 Message Date
dmex 3b6ce92a80 Validate file pool segment shift on load
Improve file pool initialization by rejecting headers with out-of-range SegmentShift values and returning STATUS_FILE_CORRUPT_ERROR before any unsafe size/offset calculations. Also replaced hardcoded SegmentShift bounds in parameter validation with new shared constants (PH_FP_SEGMENT_SHIFT_MIN/MAX) in filepool.h to keep limits consistent across create/load paths.
2026-07-16 14:46:38 +10:00
Zack-src b47d9f3bef filepool: replace PhAllocate+memset pairs with PhAllocateZero (#2898) 2026-05-05 20:55:39 +10:00
dmex a660d5e054 Update SAL Annotations 2025-09-22 19:04:22 +10:00
Johnny Shaw 1db4e3012d fix PhMapViewOfSection 2025-05-31 19:46:23 -06:00
dmex 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +10:00
dmex ac2ed17cff Add initial cmake support and fix compatibility issues 2025-02-28 12:18:01 +11:00
dmex b5c8ece612 Tidy up 2024-11-30 06:10:41 +11:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex c8bdbf6270 Partial revert native filename support (6809314e7) 2023-05-27 01:22:52 +10:00
dmex 6809314e77 Update native filename support 2023-05-26 14:59:25 +10:00
dmex df1a965bab Fix child processes inheriting section references (and not closing them until exiting) 2022-09-13 03:09:02 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex be03480399 Update PhCreateFileWin32Ex with AllocationSize 2020-12-02 09:02:20 +11:00
dmex 1ca2cf5732 Update macro usage 2019-04-27 21:31:54 +02:00
dmex 5be077ad6a Improve macro usage 2019-02-17 02:19:46 +01:00
dmex 9821adf4c7 Update macro usage 2017-11-06 19:11:31 +11:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
Wen Jia Liu 1989541f2f Reorder #include statements 2016-04-10 14:24:00 +10:00
Wen Jia Liu f387b70c05 Reflow phlib comments to 100 character width 2016-02-05 04:02:29 +11:00
Wen Jia Liu b55f633af7 Add AVL tree lower bound, upper bound, lower dual bound and upper dual bound functions 2016-02-03 20:11:08 +11:00
Wen Jia Liu 90e92f2348 converted all annotations to SAL 2.0 2013-11-10 06:25:03 +00:00
Wen Jia Liu 47213d6c2e fixed typo in PhFppRemoveFreeList 2011-12-09 23:31:40 +00:00
Wen Jia Liu 615930620e patch by xhmikosr 2011-08-25 02:43:45 +00:00
Wen Jia Liu 88eeabe5c9 added documentation to filepool.c 2011-03-12 07:13:36 +00:00
Wen Jia Liu a3d01b1a86 implemented FilePool 2011-03-12 05:13:32 +00:00