Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
[deleted comment]
This is the right fix. This will create a copy of the link_name for a string
that is
nonzero in length. I had removed the strlen() check since if the link_name is
exactly 100 characters long, the strlen may report > 100 and copy the wrong
data.
I've fixed the patch to check for zero length, and properly added a strndup
limit of
100 characters.
Sorry for the mess, I've been a bit rushed, and should have waited a bit longer
to
submit the patch.
Original comment by pblac...@gmail.com
on 18 Sep 2009 at 7:51
Attachments:
Original issue reported on code.google.com by
pblac...@gmail.com
on 17 Sep 2009 at 9:15Attachments: