bug 916259 was caused in the change of the function
grow_and_copy from version 0.7.4 to 0.8.0.
strlcat might be a more safe function, but in this case
it resluted in an error when dest==NULL. strlcat was
given a newly allocated chunk of memory in dest that
was not NULL terminated, so the reult string got some
arbitary junk at the beginning.
This patch should fix the problem.
Log in to post a comment.