[Bug stdio/20938] In variable-width charsets, _IO_wfile_sync passes a negative buffer size to __codecvt_do_length on certain inputs to fgetws resulting in SIGSEGV
friscorose at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Feb 21 01:31:00 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=20938
--- Comment #6 from Dr. Frisco Rose <friscorose at gmail dot com> ---
Addendum: fclose(stdin) is a work around fix for anyone else who ends up here.
REF:
www.linuxquestions.org/questions/programming-9/segfault-after-return-from-main-4175659749/
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list