Re: [bug-gettext] Bug#876498: gettext: msgunfmt: heap corruption

2017-09-23 Thread Daiki Ueno
Jakub Wilk writes: > Package: gettext > Version: 0.19.8.1-4 > > msgunfmt crashes on the attached file: > > $ zcat bad.mo.gz | msgunfmt > *** Error in `msgunfmt': corrupted size vs. prev_size: 0x57b0abf0 *** > ... > Aborted > > Unhelpful backtrace: Running msgunfmt under valgrind might gi

Re: [bug-gettext] Bug#876498: gettext: msgunfmt: heap corruption

2017-09-23 Thread Jakub Wilk
* Daiki Ueno , 2017-09-23, 18:22: Running msgunfmt under valgrind might give you more hints. Curiously, it no longer crashes under valgrind, but a bunch of out-of-bounds reads are reported: Invalid read of size 1 at 0x4831097: index (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.s