1
0
mirror of synced 2025-10-20 02:29:24 +03:00
Files
cpp-httplib/test
Jonas van den Berg 6e52d0a057 Fix UB by use of dangling references in getaddrinfo_with_timeout (#2232)
* Fix use of dangling references

When the resolve thread is detached, local variables were still used, which could lead to a program crash.

* Add test to verify dangling ref fix

* Add missing brace initialization

* Assert that the remaining fields are really zeroed

* Fix use of chrono literals
2025-09-14 20:05:09 -04:00
..
2025-06-29 00:13:09 -04:00
2025-06-28 00:14:01 -04:00
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2024-09-17 18:37:44 -04:00
2017-12-29 22:34:59 -05:00
2025-07-06 22:00:41 -04:00
2025-06-28 00:14:01 -04:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00