php-src/tests
Christoph M. Becker a1d4595d65
Fix calculation of aligned buffer size
As is, for requested size which are already aligned, we over-allocate,
so we fix this.  We also fix the allocation for chunk size 1.

This issue has been reported by @kkmuffme.

Thanks to @iluuu1994 for improving the fix!

Closes GH-16161.
2024-10-10 01:56:47 +02:00
..
basic Merge branch 'PHP-8.3' into PHP-8.4 2024-09-26 14:24:13 -05:00
classes GH-15992: fix error message for single abstract method not implemented (GH-15993) 2024-09-25 22:48:02 +02:00
func Deprecate E_STRICT constant and remove error level 2024-09-18 14:33:14 +02:00
lang Dynamically xfail test cases which fail on CI (GH-15710) 2024-09-02 18:23:52 +02:00
output Fix calculation of aligned buffer size 2024-10-10 01:56:47 +02:00
run-test Close PHP tags in tests 2023-10-18 17:34:10 +02:00
security Close PHP tags in tests 2023-10-18 17:34:10 +02:00
strings Align highlight_string|file with HTML standard and modern browsers 2023-08-12 15:08:28 +01:00