Commit Graph

11 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
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
Johnny Shaw 7ef3818b30 ensure memory allocation alignment 2024-06-14 23:27:19 -06:00
dmex 21f0b754a7 Update copyright 2023-04-28 14:47:22 +10:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
Wen Jia Liu 9c59091e87 Add .def file for exports; Reduce compilation time; Reorganize header files 2016-02-25 16:58:43 +11:00
Wen Jia Liu 21ef27f442 Add missing extern "C" blocks to phlib header files 2016-02-25 12:56:40 +11:00
Wen Jia Liu f387b70c05 Reflow phlib comments to 100 character width 2016-02-05 04:02:29 +11:00
Wen Jia Liu 90e92f2348 converted all annotations to SAL 2.0 2013-11-10 06:25:03 +00:00
Wen Jia Liu 615930620e patch by xhmikosr 2011-08-25 02:43:45 +00:00
Wen Jia Liu a3d01b1a86 implemented FilePool 2011-03-12 05:13:32 +00:00