Files
nearby/internal
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-09-16 09:05:17 -07:00
2025-10-13 18:54:44 -07:00
2025-07-23 12:34:42 -07:00
2025-07-23 12:34:42 -07:00
2025-07-23 11:07:56 -07:00
2025-07-23 11:07:56 -07:00
2025-07-23 11:07:56 -07:00
2025-12-02 22:58:04 -08:00
2025-12-15 09:43:20 -08:00
2025-11-17 14:05:55 -08:00