Re: segfault in errx
* Florian Weimer:
> * Michael Meskes:
>
>> I recently learned that ul (from bsdmainutils) segfaults when run
>> against the attached file. Some debugging shows that the segfault
>> happens when cleaning up in errx():
>>
>> michael@feivel:~$ ul ul.segf
>> ul: unknown escape sequence in input: 33, 135
>> Speicherzugriffsfehler
>
> What's the glibc version and architecture?
>
> I can reproduce something like this with 2.24-3 on amd64. valgrind
> isn't very helpful.
And it needs a UTF-8 locale (C.UTF-8 will do). Another multi-byte
locale may work as well.
> I'll have to try this on a distribution with better debugging
> information.
Not much luck on Fedora, either.
Based on what ul does, I suspect it's this upstream bug:
<https://sourceware.org/bugzilla/show_bug.cgi?id=20568>
Or perhaps this one:
<https://sourceware.org/bugzilla/show_bug.cgi?id=20632>
Reply to: