From e35c53e397e7abbd41fedacdedcfa5af7b5c2c52 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 8 Jul 2014 16:40:24 +0530 Subject: 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 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 79d80c0b74..5892add379 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-07-08 Siddhesh Poyarekar + * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2 + after checking that it is non-NULL. + * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL. 2014-07-08 Adhemerval Zanella -- cgit v1.2.3