[PATCH] Fix 'array subscript is above array bounds' warning in res_send.c
Adhemerval Zanella
azanella@linux.vnet.ibm.com
Tue Dec 16 12:28:00 GMT 2014
On 16-12-2014 09:26, Siddhesh Poyarekar wrote:
> On Tue, Dec 16, 2014 at 11:57:24AM +0100, Andreas Schwab wrote:
>> Siddhesh Poyarekar <siddhesh@redhat.com> writes:
>>
>>> So this does not actually fix a bug, only the warning.
>> So this should be classified as such.
> OK, I have made a clear note in the commit log mentioning that it is
> not an actual bug.
>
> Siddhesh
I think the idea for such cases is to use DIAG_IGNORE_NEEDS_COMMENT
along with a comment why this is a false positive.
More information about the Libc-alpha
mailing list