[PATCH] Fix a Coverity issue in resolv_wrapper

Jakub Hrozek jakub.hrozek at gmail.com
Tue Dec 2 02:41:13 MST 2014


Hi,

Coverity found an issue in resolv_wrapper's DNS faking code. I think
one block of code was simply misplaced -- see the attached patches for
a fix and a test.

Thank you for a review!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tests-Add-an-invalid-record-to-the-fake_hosts-file-f.patch
Type: text/x-patch
Size: 784 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141202/8edf1bf3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rwrap-Don-t-dereference-NULL-when-skipping-broken-re.patch
Type: text/x-patch
Size: 1311 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141202/8edf1bf3/attachment-0001.bin>


More information about the samba-technical mailing list