aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-16 19:40:47 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-16 19:40:47 +0530
commit0cd8552045aeb0537b4f1ab5d1b30ada8ae50076 (patch)
treec466784133086fcb0337f10e95a56cba41d86eec /ChangeLog
parenta0d424ef9d7fc34f7d1a516f38c8efb1e8692a03 (diff)
downloadglibc-0cd8552045aeb0537b4f1ab5d1b30ada8ae50076.tar
glibc-0cd8552045aeb0537b4f1ab5d1b30ada8ae50076.tar.gz
glibc-0cd8552045aeb0537b4f1ab5d1b30ada8ae50076.tar.bz2
glibc-0cd8552045aeb0537b4f1ab5d1b30ada8ae50076.zip
Fix the 'array subscript is above array bounds' warning correctly
Use DIAG_IGNORE_NEEDS_COMMENT instead since the compiler should have seen that NS never goes beyond MAXNS.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a3e0b7bf2..fae86bbc47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
+ subscript above bounds'
+
* resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
bounds.