https://bugzilla.redhat.com/show_bug.cgi?id=824106
--- Comment #6 from Aleksey konovalov.aleks@gmail.com --- [aleks@netbook 111]$ iok *** glibc detected *** iok: malloc(): memory corruption (fast): 0x08e5f470 *** Ошибка сегментирования (core dumped)
[aleks@netbook 111]$ LANG=ru_RU.UTF-8 iok -a *** glibc detected *** iok: malloc(): memory corruption (fast): 0x0851d4a8 *** Ошибка сегментирования (core dumped)
[aleks@netbook 111]$ valgrind iok ==2391== Memcheck, a memory error detector ==2391== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==2391== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==2391== Command: iok ==2391== ==2391== Invalid write of size 1 ==2391== at 0x402A853: strcpy (mc_replace_strmem.c:429) ==2391== by 0x80635AF: ??? (in /usr/bin/iok) ==2391== by 0x806850C: ??? (in /usr/bin/iok) ==2391== by 0x804B921: ??? (in /usr/bin/iok) ==2391== by 0x4C64634: (below main) (in /usr/lib/libc-2.15.so) ==2391== Address 0x54c5e6d is 0 bytes after a block of size 5 alloc'd ==2391== at 0x402A059: malloc (vg_replace_malloc.c:263) ==2391== by 0x8063596: ??? (in /usr/bin/iok) ==2391== by 0x806850C: ??? (in /usr/bin/iok) ==2391== by 0x804B921: ??? (in /usr/bin/iok) ==2391== by 0x4C64634: (below main) (in /usr/lib/libc-2.15.so) ==2391== ==2391== Invalid write of size 1 ==2391== at 0x402A864: strcpy (mc_replace_strmem.c:429) ==2391== by 0x80635AF: ??? (in /usr/bin/iok) ==2391== by 0x806850C: ??? (in /usr/bin/iok) ==2391== by 0x804B921: ??? (in /usr/bin/iok) ==2391== by 0x4C64634: (below main) (in /usr/lib/libc-2.15.so) ==2391== Address 0x54c5e7b is 14 bytes after a block of size 5 alloc'd ==2391== at 0x402A059: malloc (vg_replace_malloc.c:263) ==2391== by 0x8063596: ??? (in /usr/bin/iok) ==2391== by 0x806850C: ??? (in /usr/bin/iok) ==2391== by 0x804B921: ??? (in /usr/bin/iok) ==2391== by 0x4C64634: (below main) (in /usr/lib/libc-2.15.so) ==2391==