fixed bug where sizeof should have been used to check the buffer size, not strlen.
1 file changed