Commit Graph

2392 Commits

Author SHA1 Message Date
Tatsuya Kinoshita
56ce2a2cc8 Prevent integer overflow due to fontstat 2021-04-24 23:39:52 +09:00
Tatsuya Kinoshita
38c043f50f Check length of hostname with STR_SIZE_MAX 2021-04-24 23:39:34 +09:00
Tatsuya Kinoshita
ca187b709c Update ChangeLog 2021-04-23 20:20:21 +09:00
Tatsuya Kinoshita
59ea885da0 Treat 127.0.0.1, [::1], and hostname as localhost 2021-04-23 20:16:50 +09:00
Tatsuya Kinoshita
552dff061b Update ChangeLog 2021-04-17 17:51:04 +09:00
Tatsuya Kinoshita
40b0687725 Update PO strings 2021-04-17 17:50:25 +09:00
Tatsuya Kinoshita
17a3df7440 New option localhost_only to restrict connections only to localhost
Bug-Debian: https://github.com/tats/w3m/issues/117
2021-04-17 17:42:01 +09:00
Tatsuya Kinoshita
4e9fec551f Update ChangeLog 2021-04-10 22:36:22 +09:00
Tatsuya Kinoshita
26ef4c0a4e Update PO strings 2021-04-10 22:32:59 +09:00
Tatsuya Kinoshita
22d33dc8c9 New option cross_origin_referer to use origin only Referer 2021-04-10 22:29:18 +09:00
Tatsuya Kinoshita
4e0375c76f Don't include username in Referer 2021-04-10 12:19:58 +09:00
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