Re: [BUG] invalid-null-argument outmem() src/output.c:149:17
Harald van Dijk <[email protected]> Thu, 31 Jul 2025 22:39:02 +0100
| Newsgroups | org.kernel.vger.dash |
|---|---|
| Message-ID | <[email protected]> |
On 31/07/2025 18:33, Aleksander Ushakov wrote: > Hello Dash maintainers, > > I encountered a bug in Dash in commit b4ef25d7 and would like to report > it. The details are provided below. > > output.c:149:25: runtime error: null pointer passed as argument 1, which > is declared to never be null Although this was previously formally undefined behaviour, it no longer is, and this change has been suggested to be applied retroactively. (https://www.open-std.org/jtc1/sc22/wg14/www/previous.html, look for N3322) As such, this should be considered a sanitizer false positive now and dash should not need any changes here. Cheers, Harald van Dijk