History log of /php-src/tests/output/gh16135.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# a1d4595d 03-Oct-2024 Christoph M. Becker

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

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.

show more ...