1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/main
Gina Peter Banyard 0fe3a91494 main/streams: Remove questionable use of PHP_STRLCPY
The description of PHP_STRLCPY says that this is a fast version of strlcpy that should be used if we *know* the size of both the source and destination buffers.
This is clearly not the case as we use strlen() to compute it.
Moreover if the result cannot fit in the destination buffer something seriously strange has happened and we should return a failure state rather than truncating.
2025-01-03 13:45:23 +00:00
..
2024-05-19 22:57:08 +02:00
2024-06-24 19:57:28 +02:00
2024-11-14 20:36:23 +01:00
2024-11-18 20:53:28 +01:00
2024-11-25 23:09:36 +01:00
2024-11-18 20:53:28 +01:00
2024-11-29 08:06:10 +01:00
2023-07-25 17:54:14 +02:00
2024-06-09 14:23:41 +02:00
2024-11-18 20:53:28 +01:00
2024-12-01 11:00:17 +01:00
2024-10-06 19:43:19 +01:00
2024-02-08 12:08:07 +01:00
2023-01-16 12:27:33 +01:00
2023-01-16 12:27:33 +01:00