eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
508 stars 84 forks source link

ISO charset make crash with python #1711

Open BigBadWouf opened 2 weeks ago

BigBadWouf commented 2 weeks ago

Hello

On eggdrop 1.10 and python 3.12.6 (running on manjaro linux 6.1)

When bind on event like pubm, part, quit with messages contains ISO char like éèçà, eggdrop crash.

Simple to reproduce : Compile an eggdrop with default parameters. Load python. Add script with bind like bind("pubm", "*", "*", onMessage)) and proc like def onMessage(nick, mask, handle, channel, msg=''): pass Go to channel with bot and send message with charset like iso-8859-15 and special char. Crash.

Cant produce gdb for now, i add one to night

BigBadWouf commented 2 weeks ago

Here a gdb of SEGMENT VIOLATION with python and simple bind

gdb.txt