aboutsummaryrefslogtreecommitdiffstats
path: root/Str.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-19Fix potential heap buffer corruption due to StrgrowKuang-che Wu1-2/+2
If Str.length = 5 and area_size = 6, the result of Strgrow is still area_size = 6. For such case, Strcat_char and Strinsert_char will overflow one byte. Bug-Debian: https://github.com/tats/w3m/pull/27 [CVE-2016-9442] Origin: https://github.com/tats/w3m/pull/27/commits/c95a43dc92695464be11c8a51811aaa9761546e6
2013-08-04Check length for Strchop()Tatsuya Kinoshita1-2/+2
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+557