This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix 'array subscript is above array bounds' warning in res_send.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]