robm / dzen

Dzen is a general purpose messaging, notification and menuing program for X11.
MIT License
607 stars 81 forks source link

Fixing a buffer overflow error in chomp. #13

Closed fimad closed 11 years ago

fimad commented 11 years ago

Fixes an a bug where dzen2 crashes if supplied with a line longer than MAX_LINE_LEN on STDIN.

Example: perl -e 'print "A"x9000' | ./dzen2

robm commented 11 years ago

Thanks you, merged!