unbound/util
yunwei 0215500261
Update netevent.c
#386
I found the root cause of this issue. r_buffer is r->query_reply.c->buffer, used to fill the reply in the mesh_send_reply function, then call comm_point_send_reply, and then call http2_submit_dns_response to send the DOH response. However, the buffer is not cleared after use. If the query length is greater than the last response length, the next dns query in the same H2 session will encounter an error.
This is bug!!!

Clear the buffer after use.
2021-01-20 14:12:51 +08:00
..
data - Add comment documentation. 2021-01-08 11:01:06 +01:00
shm_side Merge branch 'master' into master 2020-01-28 13:18:01 +01:00
storage I found that in function lruhash_remove, table was locked at first ,then lru_remove the entry , then unlock the table, and then markdel entry , but in function rrset_cache_touch , the entry will be touched to lru again before markdelling entry in function lruhash_remove. This is a bug! 2021-01-13 10:33:41 +08:00
alloc.c - Fix for out of bounds integers, thanks to OSTIF audit. It is in 2019-04-02 12:28:20 +00:00
alloc.h - Fix that unbound-control reload frees the rrset keys and returns 2018-05-01 14:00:06 +00:00
as112.c And document the files. 2016-02-09 13:51:35 +00:00
as112.h And document the files. 2016-02-09 13:51:35 +00:00
config_file.c Merge branch 'master' into features/nsid 2021-01-19 14:21:18 +01:00
config_file.h NSID for Unbound 2020-12-01 15:19:17 +01:00
configlexer.c NSID for Unbound 2020-12-01 15:19:17 +01:00
configlexer.lex NSID for Unbound 2020-12-01 15:19:17 +01:00
configparser.c Merge branch 'master' into features/nsid 2021-01-19 14:21:18 +01:00
configparser.h NSID for Unbound 2020-12-01 15:19:17 +01:00
configparser.y Merge branch 'master' into features/nsid 2021-01-19 14:21:18 +01:00
configyyrename.h Neater configure and no double config.h includes. 2009-03-24 10:42:57 +00:00
edns.c NSID for Unbound 2020-12-01 15:19:17 +01:00
edns.h Replace edns-client-tag with edns-client-string option 2020-09-30 23:17:53 +02:00
fptr_wlist.c Merge branch 'master' into stream-reuse 2020-10-21 09:54:03 +02:00
fptr_wlist.h Serve stale (#159) 2020-02-05 14:20:27 +01:00
iana_ports.inc - iana portlist updated. 2021-01-04 14:18:24 +01:00
locks.c - Fix to rename internally used types from _t to _type, because _t 2017-01-19 10:25:41 +00:00
locks.h - Fix to rename internally used types from _t to _type, because _t 2017-01-19 10:25:41 +00:00
log.c - Clean debug comments. 2020-02-10 15:54:41 +01:00
log.h Make log_ident_revert_to_default() a proper prototype. 2020-03-20 11:44:38 +01:00
mini_event.c - Fix to timeval_add for remaining second in microseconds. 2019-08-01 16:48:41 +02:00
mini_event.h - Fix mini_event.h on OpenBSD cannot find fd_set. 2020-08-04 08:14:25 +02:00
module.c - Expose if a query (or a subquery) was ratelimited (not src IP 2018-08-03 14:00:46 +00:00
module.h - For #391: fix indentation. 2021-01-08 09:53:52 +01:00
net_help.c Merge branch 'master' into doh 2020-09-16 18:38:51 +02:00
net_help.h - Merge PR #293: Add missing prototype. Also refactor to use the new 2020-08-31 08:41:34 +02:00
netevent.c Update netevent.c 2021-01-20 14:12:51 +08:00
netevent.h - For #376: Fix that comm point event is not double removed or double 2021-01-04 14:05:50 +01:00
random.c Allow use of libbsd functions with configure option --with-libbsd 2020-01-26 19:09:43 -05:00
random.h - Fix Bad Randomness in Seed, reported by X41 D-Sec. 2019-11-20 14:40:50 +01:00
rbtree.c fixes for _t changes. 2017-01-19 14:11:59 +00:00
rbtree.h layout. 2017-01-20 16:09:37 +00:00
regional.c - Fix #320: potential memory corruption due to size miscomputation upton 2020-10-21 17:44:04 +02:00
regional.h - Fix padding of struct regional for 32bit systems. 2020-11-24 17:06:54 +01:00
rtt.c - Fix for 4126 that the #define for UNKNOWN_SERVER_NICENESS can be more 2018-07-12 14:15:03 +00:00
rtt.h - spelling fixes from Igor Sobrado Delgado. 2015-11-18 14:11:46 +00:00
tcp_conn_limit.c - Fix warning on compile without threads. 2018-08-16 10:28:11 +00:00
tcp_conn_limit.h Fix comment reference to variable name in header file. 2018-08-07 12:03:46 +00:00
timehist.c please lint. 2017-04-13 13:03:38 +00:00
timehist.h - (for 1.6.3:) unbound.h exports the shm stats structures. They use 2017-04-13 12:47:29 +00:00
tube.c - Fix #3817: core dump happens in libunbound delete, when queued 2018-03-15 13:32:19 +00:00
tube.h - Fix to rename internally used types from _t to _type, because _t 2017-01-19 10:25:41 +00:00
ub_event.c - Fix display of event loop method with libev. 2020-06-17 14:32:57 +02:00
ub_event.h - Spelling fixes, from Phil Porada. 2017-09-15 14:29:28 +00:00
ub_event_pluggable.c - Fixes to please lint checks. 2019-11-19 12:10:03 +01:00
winsock_event.c - Fix to timeval_add for remaining second in microseconds. 2019-08-01 16:48:41 +02:00
winsock_event.h fixes for _t changes. 2017-01-19 14:11:59 +00:00