Integer overflow in wcswidth

Andreas Schwab schwab@suse.de
Mon Sep 19 12:02:00 GMT 2016


On Sep 19 2016, Florian Weimer <fweimer@redhat.com> wrote:

> But in the end, this interface is just broken (we can't even report and
> EOVERFLOW error).

POSIX leaves us the backdoor of returning -1 though.

Andreas.

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