[Bug locale/20568] Segfault with wide characters and setlocale/fgetwc/UTF-8

igor.liferenko at gmail dot com sourceware-bugzilla@sourceware.org
Thu Dec 20 07:04:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=20568

--- Comment #5 from Igor Liferenko <igor.liferenko at gmail dot com> ---
I have done additional testing for number of input bytes.
Here is the report, where the range is number of input bytes and
text after '=' is the result of executing the following command:

    printf '%0.s1' $(seq N) | ./a.out

where N is the desired number of input bytes.

0-9 = terminated normally

10-61 = *** stack smashing detected ***: <unknown> terminated Aborted

62-105 = Segmentation fault

106-121 = *** stack smashing detected ***: <unknown> terminated Aborted

122-137 = Segmentation fault

138-??? = terminated normally

etc...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list