[ldns-users] [PATCH 0/2] allocation errors in packet parsing
jv at fcelda.cz
Tue Apr 4 14:28:54 UTC 2017
the attached patches fix some issues in ldns_wire2pkt function.
I don't exactly remember the circumstance of finding the first problem
because the patch has been laying in my repository for a while. But
the fix is pretty obvious.
The second patch fixes memory leak when parsing malformed packet that
contains multiple EDNS records. The old EDNS buffer needs to be
(The patches apply cleanly on develop branch.)
Jan Vcelak (2):
ldns_wire2pkt: fix null pointer dereference if pkt allocation fails
ldns_wire2pkt: fix memory leak with more EDNS sections
wire2host.c | 5 +++++
1 file changed, 5 insertions(+)
More information about the ldns-users