1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 15:12:39 +02:00
Files
archived-php-src/ext
Christoph M. Becker e52946eb52 Restrict range of buffer_length on all platforms to INT_MAX
This has only been done for Windows systems so far, and there was a
TODO comment about looping for larger values; that appears to be
overkill, though, since 2 million bytes should be sufficient for all
use cases, and if there is really the need for more, users can still
loop manually.  Anyhow, checking the range upfront on all platforms
is clearer then silently casting to `int`.

We split the error message for the least possible BC break.

Closes GH-9126.
2022-07-26 14:12:48 +02:00
..
2022-06-25 07:40:19 +01:00
2022-07-22 15:34:57 +01:00
2022-06-29 14:04:40 +02:00
2022-07-08 17:39:05 +01:00
2022-07-20 17:01:42 +02:00
2022-06-10 12:45:30 -04:00
2022-07-25 19:12:12 +02:00
2022-06-09 13:42:45 +02:00
2022-06-13 14:44:49 +02:00
2022-07-25 19:28:25 +01:00
2022-07-21 17:21:18 +02:00
2022-05-16 14:47:02 +02:00
2022-06-25 07:40:19 +01:00