This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug locale/24677] free error in __libio_codecvt_out with e.g. UTF-8 locales


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

--- Comment #2 from Manuel Lauss <manuel.lauss at gmail dot com> ---
> But the util-linux rev case is slightly different because there is a genuine
> double-free on stdin here.

can trigger also with files:

# rev test.txt
rentner
free(): double free detected in tcache 2
Aborted (core dumped)
# LC_ALL=C rev test.txt
rentner
#

Why does setting locale to C not trigger the free error?

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]