edmund-huber / ergonomadic

DISCONTINUED, see orogono
MIT License
132 stars 10 forks source link

crashing bug #13

Closed edmund-huber closed 9 years ago

edmund-huber commented 9 years ago
10:53 <mw> basically if you do JOIN #channel 1,2 it will panic the server
10:53 <mw> (don't do that!)
10:54 <mw> https://github.com/edmund-huber/ergonomadic/blob/master/irc/commands.go#L329
10:54 <mw> this is because keys is initialized to onlyu have enough space for the number of channels you are trying to join
edmund-huber commented 9 years ago

Found using http://www.strlen.de/irctorture.html.

edmund-huber commented 9 years ago

To repro in irssi, /quote join #aasdfa 1,2,3,4. irssi's smart enough to correct /join #aasdfa 1,2,3,4 to /join #aasdfa 1.