Witold Kręcicki
736d8c5b80
Fix assertion failure in nslookup/dig/mdig when message has multiple SIG(0) options.
...
When parsing message with DNS_MESSAGE_BESTEFFORT (used exclusively in
tools, never in named itself) if we hit an invalid SIG(0) in wrong
place we continue parsing the message, and put the sig0 in msg->sig0.
If we then hit another sig0 in a proper place we see that msg->sig0
is already 'taken' and we don't free name and rdataset, and we don't
set seen_problem. This causes an assertion failure.
This fixes that issue by setting seen_problem if we hit second sig0,
tsig or opt, which causes name and rdataset to be always freed.
(cherry picked from commit 51a55ddbb7 )
2019-03-26 21:32:41 +11:00
..
2019-03-22 12:08:16 +01:00
2019-03-22 06:52:32 +11:00
2019-03-22 12:08:16 +01:00
2018-12-14 14:29:46 +11:00
2018-11-09 03:04:22 +07:00
2018-11-08 22:42:52 +07:00
2018-11-08 22:02:58 +07:00
2019-02-20 19:54:38 -08:00
2018-08-10 15:20:57 +02:00
2019-03-14 13:53:04 -07:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-11-29 15:05:17 +11:00
2019-03-08 13:14:10 +01:00
2018-03-14 16:40:20 -07:00
2018-08-10 15:20:58 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-12-20 04:50:08 -05:00
2019-03-22 12:08:16 +01:00
2019-03-08 22:25:27 +11:00
2018-11-08 22:02:58 +07:00
2018-03-14 16:40:20 -07:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-05-03 21:48:44 +02:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-03-14 16:40:20 -07:00
2018-05-11 14:25:15 +02:00
2018-12-19 12:46:05 +01:00
2018-11-08 22:02:58 +07:00
2018-04-10 13:14:25 -07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-03-08 18:24:13 +11:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2019-02-19 10:26:00 +11:00
2018-11-09 00:07:55 +07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2019-03-22 12:08:16 +01:00
2018-11-14 11:13:21 -08:00
2018-11-09 03:04:22 +07:00
2019-03-26 21:32:41 +11:00
2018-11-08 22:02:58 +07:00
2019-01-09 16:17:07 +11:00
2018-12-20 04:50:08 -05:00
2018-11-08 22:02:58 +07:00
2018-11-15 00:16:35 +00:00
2019-01-29 15:42:51 -08:00
2018-11-15 17:45:44 -08:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-03-14 16:40:20 -07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-01-17 09:00:42 +11:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-01-17 09:00:42 +11:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:02:58 +07:00
2018-08-10 15:20:57 +02:00
2018-03-14 16:40:20 -07:00
2018-03-14 16:40:20 -07:00
2018-11-08 22:42:52 +07:00
2018-05-11 14:25:15 +02:00
2019-01-09 19:08:22 +11:00
2019-01-09 18:52:50 +11:00
2018-05-11 14:25:15 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:02:58 +07:00
2019-03-14 13:17:10 -07:00
2019-01-08 20:51:27 -08:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-11-08 22:42:52 +07:00
2019-03-14 09:01:31 +11:00
2018-08-10 15:20:57 +02:00
2019-02-19 09:38:09 +11:00
2018-05-11 14:25:15 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:58 +02:00
2018-05-11 14:25:15 +02:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2018-08-10 15:20:57 +02:00
2019-01-31 09:29:22 -08:00
2018-11-08 22:42:52 +07:00
2019-01-30 12:34:02 -08:00
2018-08-10 15:20:57 +02:00
2018-11-08 22:42:52 +07:00
2019-03-08 22:25:27 +11:00
2018-05-11 14:25:15 +02:00
2018-11-15 00:16:31 +00:00
2018-11-08 22:42:52 +07:00
2018-08-10 15:20:57 +02:00
2019-02-20 19:54:20 -08:00
2018-08-10 15:20:57 +02:00
2018-10-30 11:55:12 +11:00