bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gl_array_list.c:452:29: runtime error: applying zero offset to null


From: Paul Eggert
Subject: Re: gl_array_list.c:452:29: runtime error: applying zero offset to null pointer
Date: Sat, 26 Feb 2022 11:57:40 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 11/1/21 18:13, Paul Eggert wrote:

Most likely Paweł can configure his testing environment to suppress these false alarms. If not, I suggest firing off a bug report to the Clang developers, asking for an easy way to suppress them. In practice these particular diagnostics are more trouble than they're worth.

While rereading the Gnulib manual I remembered this issue, found a way to suppress Clang's false alarms, and documented it in the attached Gnulib patch.

Attachment: 0001-Document-clang-fsanitize-undefined-glitch.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]