[PATCH] iconv: iconv.c: fix null pointer dereference when outbuf is NULL

Andreas Schwab schwab@suse.de
Wed Oct 29 14:45:57 GMT 2025


On Okt 29 2025, Anton Moryakov wrote:

> When calling iconv() with outbuf == NULL (a valid use case for state
> reset),

Only if inbuf is NULL or points to NULL.

-- 
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