Skip to content
Commit 40da893a authored by Andreas Schwab's avatar Andreas Schwab Committed by Allan McRae
Browse files

Properly fix memory leak in _nss_dns_gethostbyname4_r with big DNS answer

Instead of trying to guess whether the second buffer needs to be freed
set a flag at the place it is allocated

(cherry picked from commit ab09bf61)
parent 3a4f226e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment