diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-16 16:53:05 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-16 16:55:23 +0530 |
commit | a0d424ef9d7fc34f7d1a516f38c8efb1e8692a03 (patch) | |
tree | e30a4786facc2274751209651c05de9b043f082f /hurd | |
parent | 8b460906cdb8ef1501fa5dcff54206b201e527d5 (diff) | |
download | glibc-a0d424ef9d7fc34f7d1a516f38c8efb1e8692a03.tar.gz glibc-a0d424ef9d7fc34f7d1a516f38c8efb1e8692a03.tar.xz glibc-a0d424ef9d7fc34f7d1a516f38c8efb1e8692a03.zip |
Fix 'array subscript is above array bounds' warning in res_send.c
I see this warning in my build on F21 x86_64, which seems to be due to a weak check for array bounds. Fixed by making the bounds check stronger. This is not an actual bug since nscount is never set to anything greater than MAXNS. The compiler however does not know this, so we need the stronger bounds check to quieten the compiler.
Diffstat (limited to 'hurd')
0 files changed, 0 insertions, 0 deletions