Files
nearby/internal/platform/implementation
hai007 46ad9a75ef Fix out-of-bounds string access in GNCIPv4AddressTest found by LibC++ hardening
LibC++ hardening detected an out-of-bounds write in `testInitFromDataWithLeadingEmptyBytes`. The `std::string` initialized with "\0\0\0\0" was empty, making the access `addressString[3]` invalid.

Updated the `std::string` constructor to specify the size, so it correctly includes the null bytes, preventing the crash.

PiperOrigin-RevId: 846853226
2025-12-19 13:48:53 -08:00
..
2025-12-19 12:55:17 -08:00
2024-12-17 16:02:36 -08:00
2025-10-06 09:03:08 -07:00
2025-11-17 14:05:55 -08:00
2025-09-12 15:04:40 -07:00
2025-11-19 20:35:47 -08:00
2025-10-09 09:17:07 -07:00
2025-09-24 18:44:41 -07:00
2025-11-17 14:05:55 -08:00
2024-09-19 13:58:21 -07:00
2024-09-19 13:58:21 -07:00
2024-09-19 13:58:21 -07:00
2025-10-25 12:52:27 -07:00