[znc] Recent system updates cause "stack smashing" segfault

Problems with packages? Post here, using [tags] of the package name.

[znc] Recent system updates cause "stack smashing" segfault

Postby aphirst » Fri Nov 24, 2017 8:04 pm

https://github.com/znc/znc/issues/1459

As covered, after recent system updates, ZNC runs for a time then suddenly segfaults, complaining of "stack smashing" attempts. This occurs with ZNC and with various -git versions, so the issue doesn't seem to be with ZNC itself.

The github user 0KiB managed to catch a list of package updates, after which the described issue is triggered. https://pastebin.com/7CdNc9Ny
aphirst
 
Posts: 13
Joined: Wed Sep 06, 2017 10:09 am

Re: [znc] Recent system updates cause "stack smashing" segfa

Postby aphirst » Wed Nov 29, 2017 7:05 pm

There have been some further investigative developments which I'll reproduce here.

https://github.com/znc/znc/issues/1459# ... -347027751

User "Bonstra" has determined that the culprit is in fact icu, "ZNC appears to crash while translating charsets for the result of a WHO command, for some users whose real name contains non-ASCII characters."

Compiling with --disable-charset obviously disables the character-set conversion functionality, but totally prevents the crashing.

User "psychon" believes the routine in question is "ucnv_convertEx", but isn't sure what the underlying cause is. I suspect it's worth seeing what changed in that routine, and the routines it calls, since the last icu release.
aphirst
 
Posts: 13
Joined: Wed Sep 06, 2017 10:09 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest