diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-08 16:40:24 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-08 22:52:49 +0530 |
commit | e35c53e397e7abbd41fedacdedcfa5af7b5c2c52 (patch) | |
tree | a2ad8eb75106c36132545800df7128b841324926 /elf/neededtest3.c | |
parent | 80b5c505889ac4747aab54614d2bce18efa511ea (diff) | |
download | glibc-e35c53e397e7abbd41fedacdedcfa5af7b5c2c52.tar.gz glibc-e35c53e397e7abbd41fedacdedcfa5af7b5c2c52.tar.xz glibc-e35c53e397e7abbd41fedacdedcfa5af7b5c2c52.zip |
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.
Diffstat (limited to 'elf/neededtest3.c')
0 files changed, 0 insertions, 0 deletions