]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Check value at resplen2 if it is not NULL
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 8 Jul 2014 11:10:24 +0000 (16:40 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 8 Jul 2014 17:22:49 +0000 (22:52 +0530)
commite35c53e397e7abbd41fedacdedcfa5af7b5c2c52
treea2ad8eb75106c36132545800df7128b841324926
parent80b5c505889ac4747aab54614d2bce18efa511ea
Check value at resplen2 if it is not NULL

There was a typo in the previous patch due to which resplen2 was
checked for non-zero instead of the value at resplen2.  Fix that and
improve the condition by checking resplen2 for non-NULL (instead of
answerp2) and also adding the check in a third place.
ChangeLog
resolv/res_query.c