Commit Graph

2331 Commits

Author SHA1 Message Date
Tatsuya Kinoshita
4e2cfffd88 Don't set Referer when data URI scheme 2021-04-10 11:14:26 +09:00
Tatsuya Kinoshita
8276cf5afa Update ChangeLog 2021-04-05 22:45:15 +09:00
Tatsuya Kinoshita
99d11d347c Use Strcatc and Strnulterm in base64_encode 2021-04-05 22:37:33 +09:00
Tatsuya Kinoshita
fbaa526b8b New macro Strcatc and Strnulterm 2021-04-05 22:36:45 +09:00
Tatsuya Kinoshita
068e2c2784 Merge pull request #177 from bptato/inlineimages
Kitty inline image & base64 encoding fixes
2021-04-05 22:35:47 +09:00
bptato
694a10271d Return Str from base64_encode, fix extraction of first gif frame for animations in put_image_kitty 2021-04-04 17:57:13 +02:00
Tatsuya Kinoshita
36ced394f6 Update ChangeLog 2021-04-03 19:45:48 +09:00
Tatsuya Kinoshita
58b26000a2 Limit size and number of tables to prevent integer overflow 2021-04-03 19:40:24 +09:00
Tatsuya Kinoshita
8908705927 Update ChangeLog 2021-03-30 23:16:02 +09:00
Tatsuya Kinoshita
540eb60fdd Treat table height as int instead of short
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
2021-03-30 22:48:53 +09:00
Tatsuya Kinoshita
1a9bcdf202 Treat textlist item number as int instead of short
cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
2021-03-30 20:15:07 +09:00
Tatsuya Kinoshita
ac59b52134 Update ChangeLog 2021-03-29 20:40:21 +09:00
Tatsuya Kinoshita
47a2a5514b Prevent GC warnings of repeated allocation
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746701
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832407
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862382
2021-03-29 20:37:38 +09:00
Tatsuya Kinoshita
292894146a Update ChangeLog 2021-03-27 20:08:06 +09:00
Tatsuya Kinoshita
d0a30912c8 Fix potential integer overflow in allocStr 2021-03-27 20:04:56 +09:00
Tatsuya Kinoshita
16b3875745 Update ChangeLog 2021-03-26 23:23:46 +09:00
Tatsuya Kinoshita
2bbcd7902a Ignore the "-" option to accept w3m - as "read from stdin"
Bug-Debian: https://github.com/tats/w3m/issues/87
2021-03-26 23:10:40 +09:00
Tatsuya Kinoshita
d1ab25b6e9 Update ChangeLog 2021-03-25 18:56:46 +09:00
Tatsuya Kinoshita
abce83d1cf Explicitly call GC_gcollect() in fuzzer 2021-03-25 18:56:18 +09:00
Tatsuya Kinoshita
5a1059b6f3 Prevent memory leak in fuzzer 2021-03-25 18:55:49 +09:00
Tatsuya Kinoshita
16d0f20fc0 Update ChangeLog 2021-03-23 19:13:52 +09:00
Tatsuya Kinoshita
d9d9d7b278 Reduce memory reallocation due to Strgrow 2021-03-23 19:13:05 +09:00
Tatsuya Kinoshita
f70cacbbd7 Prevent unneeded memory allocation for language tags in libwc
cf. https://oss-fuzz.com/testcase-detail/6275874304425984
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397
2021-03-23 19:02:12 +09:00
Tatsuya Kinoshita
c9ead0a521 Update ChangeLog 2021-03-23 01:45:37 +09:00
Tatsuya Kinoshita
b9c2432101 Prevent very long language tag in libwc
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32229
2021-03-23 01:44:59 +09:00
Tatsuya Kinoshita
c62ea96b67 Update ChangeLog 2021-03-21 23:49:08 +09:00
Tatsuya Kinoshita
15520de3aa Check STR_SIZE_MAX in Strcat_char 2021-03-21 12:51:08 +09:00
Tatsuya Kinoshita
4da429056b Update ChangeLog 2021-03-20 23:58:27 +09:00
Tatsuya Kinoshita
8d16266f0e Prevent very small allocation in Str.c 2021-03-20 23:57:47 +09:00
Tatsuya Kinoshita
0cf850fcfa Update ChangeLog 2021-03-19 22:15:42 +09:00
Tatsuya Kinoshita
ec43154493 Decrease STR_SIZE_MAX to prevent large memory usage 2021-03-19 22:15:07 +09:00
Tatsuya Kinoshita
676646443b Update ChangeLog 2021-03-14 23:37:40 +09:00
Tatsuya Kinoshita
aef9990bce Include unistd.h for getpid() and unlink() in fuzzer 2021-03-14 23:33:39 +09:00
Tatsuya Kinoshita
eb9a986f5e Call wtf_init() in fuzzing 2021-03-14 23:26:46 +09:00
Tatsuya Kinoshita
21ae5fb365 Update ChangeLog 2021-03-11 19:35:46 +09:00
Tatsuya Kinoshita
2341cef6e9 Prevent index overflow due to tag_map in libwc
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31936
2021-03-11 19:34:53 +09:00
Tatsuya Kinoshita
7c8595f66b Update ChangeLog 2021-03-07 07:03:50 +09:00
Tatsuya Kinoshita
0b3effab72 Set GC_oom_fn in fuzzing 2021-03-07 07:03:29 +09:00
Tatsuya Kinoshita
06f0cecdcc Update ChangeLog 2021-03-06 11:53:26 +09:00
Tatsuya Kinoshita
593d4adcb0 Call GC_INIT() in fuzzing 2021-03-06 11:51:44 +09:00
Tatsuya Kinoshita
7f35634c07 Merge pull request #174 from bptato/master
Fix file handle leaks in kitty and iTerm2 image display
2021-03-06 11:50:40 +09:00
bptato
60fd20597c Fix file handle leaks in kitty and iTerm2 image display 2021-03-05 15:44:44 +01:00
Tatsuya Kinoshita
4bf9c5fffc Update ChangeLog 2021-03-05 07:00:32 +09:00
Tatsuya Kinoshita
58d8af31d1 Prevent redundant memory reallocation in Str.c 2021-03-05 06:55:56 +09:00
Tatsuya Kinoshita
23926c5b07 Update ChangeLog 2021-03-04 23:58:02 +09:00
Tatsuya Kinoshita
13015ebcf6 Prevent unneeded Strgrow in Strinsert_char 2021-03-04 23:46:21 +09:00
Tatsuya Kinoshita
9ff239b340 Update ChangeLog 2021-03-04 22:22:43 +09:00
Tatsuya Kinoshita
e11bb2b868 Consider Strgrow overflow in Strinsert_char 2021-03-04 22:18:03 +09:00
Tatsuya Kinoshita
1995178e67 Update ChangeLog 2021-03-04 07:10:04 +09:00
Tatsuya Kinoshita
91731ec385 Prevent unneeded memory allocation in Strgrow 2021-03-04 07:03:18 +09:00