mazenharake/cecho — pull request #7 by msantos (2012-04-28 14:59:52+00:00)
Title: Overflow

Hey Mazen, this is the same set of patches I sent you about a year ago.

I've split them so you can just pull in the fix for the ei_decode_string() usage.

The fix for the stack overflow still uses malloc/free. Alternatively, the patch could check the size of the string and return an error, if the string is too large (no idea what a good size for that would be).