[PATCH] iconv: iconv.c: fix null pointer dereference when outbuf is NULL
Andreas Schwab
schwab@suse.de
Wed Oct 29 14:58:31 GMT 2025
On Okt 29 2025, Anton Moryakov wrote:
> The purpose of this patch is to fix an undefined behavior that occurs in
> this exact scenario: when 'inbuf == NULL' (reset mode), 'outbuf != NULL',
> but '*outbuf == NULL'.
This case is already handled.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list