Files
RetroArch/network
LibretroAdmin e8dc09f986 natt: hand the UPnP reply to the XML document instead of copying it twice
Each of the three UPnP replies (device description, external address,
port mapping) was copied into a NUL-terminated heap buffer, then
copied again by rxml_load_document_string, which keeps its own.  The
buffer is now handed over with rxml_load_document_owned, which keeps it
as the document's or frees it on failure, so the second copy and its
allocation are gone and the caller no longer frees it.

natt_desc_parse_test passes.
2026-11-07 06:36:57 +01:00
..
2024-12-27 05:51:33 +01:00
2023-05-30 21:21:05 +02:00