aboutsummaryrefslogtreecommitdiffstats
path: root/Str.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Decrease STR_SIZE_MAX to prevent large memory usageTatsuya Kinoshita2021-03-191-1/+1
|
* Prevent redundant memory reallocation in Str.cTatsuya Kinoshita2021-03-041-15/+8
|
* Prevent unneeded Strgrow in Strinsert_charTatsuya Kinoshita2021-03-041-1/+1
|
* Consider Strgrow overflow in Strinsert_charTatsuya Kinoshita2021-03-041-1/+3
|
* Prevent unneeded memory allocation in StrgrowTatsuya Kinoshita2021-03-031-6/+8
|
* Prevent large memory usage and null-deref in Str.cTatsuya Kinoshita2021-03-021-1/+27
| | | | | Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31579 Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31589
* Prevent zero size allocation in Str.cTatsuya Kinoshita2021-02-281-4/+4
|
* Prevent unintentional integer overflow in Strcat_charp_nTatsuya Kinoshita2021-02-281-1/+1
| | | | Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31500
* Prevent unintentional integer overflow in StrgrowTatsuya Kinoshita2021-02-281-1/+1
| | | | Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31467
* One more fix overflow due to StrgrowTatsuya Kinoshita2021-02-271-2/+5
| | | | Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397
* Fix potential overflow due to Str.cTatsuya Kinoshita2021-02-261-8/+34
|
* Fix integer overflow due to StrgrowTatsuya Kinoshita2021-02-261-0/+5
| | | | Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397
* Prevent heap-buffer-overflow in Strnew_size()Tatsuya Kinoshita2016-12-101-0/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/72
* Fix potential heap buffer corruption due to StrgrowKuang-che Wu2016-08-301-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.
* Use fgetc in while loops, use int instead of charDavid Crosby2015-08-111-10/+4
|
* Strnew_charp and co do not modify the char* inputRichard Quirk2015-07-251-8/+8
|
* Check length for Strchop()Tatsuya Kinoshita2013-08-041-2/+2
|
* Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita2011-05-041-0/+557