Fixing a buffer overflow error in chomp.
Merge pull request #13 from fimad/master

Fixing a buffer overflow error in chomp.