msantos wants to merge 2 commits into mazenharake:masterfrom msantos:overflow
Commits on Apr 28, 2012
Apr 28, 2012
Increase the buffer size for strings by one byte to accomodate the trail NULL expected by ei_decode_string: The string is copied to p, and enough space must be allocated. The returned string is null terminated so you need to add an extra byte to the memory requirement.