Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Being a dick on IRC was how I learned to program. What a blast.

AWESOME memory you describe there.

OMG, fond memories of the day me and my IRC friends in high school somehow figured out that there was a bug in our network's ircd that allowed us to cause the server to segfault simply by setting a strange combination of a large number of modes on a channel.

The ops were pissed but they got less pissed after I submitted a patch, after I went looking in the C source code and figured out it was probably a buffer overrun.... Something like maxing out an undersized buffer by using every zero argument mode possible, duplicating modes and as many one argument modes with long nicknames... like MODE #channel +mmmvv LongNickGuy1asdfasf LongNickGuy2skldjfaklsjd

...and that was my first non toy experience with C!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: