Witold Kręcicki
69d3bb78c2
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:08 +11:00
..
2019-03-22 12:07:31 +01:00
2019-03-22 06:52:10 +11:00
2019-03-22 12:07:31 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:51:49 +00:00
2018-12-06 10:29:11 -08:00
2019-02-27 18:06:35 -05:00
2018-11-22 11:52:08 +00:00
2019-03-14 13:51:30 -07:00
2018-11-22 11:52:08 +00:00
2019-02-18 17:40:56 -05:00
2019-03-08 13:14:00 +01:00
2018-11-22 11:52:08 +00:00
2018-11-08 12:22:17 +07:00
2018-11-23 04:34:02 -05:00
2018-11-28 12:00:16 -05:00
2019-01-31 12:18:55 -08:00
2019-03-22 12:07:31 +01:00
2019-03-08 22:16:48 +11:00
2018-12-11 11:32:24 +01:00
2018-12-11 11:32:24 +01:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-12-19 12:24:59 +01:00
2018-11-22 11:52:08 +00:00
2019-03-08 18:23:59 +11:00
2018-11-22 09:28:00 -05:00
2019-02-18 17:40:56 -05:00
2018-11-08 12:22:17 +07:00
2018-11-08 12:21:53 +07:00
2018-11-08 12:22:17 +07:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2019-03-22 12:07:31 +01:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:35:49 +01:00
2019-03-26 21:32:08 +11:00
2018-11-22 11:51:49 +00:00
2019-01-09 15:53:32 +11:00
2018-12-19 12:54:57 +01:00
2018-11-08 12:21:53 +07:00
2018-11-14 15:26:27 -05:00
2018-11-22 11:52:08 +00:00
2018-11-14 20:17:04 -08:00
2018-11-08 12:22:17 +07:00
2018-12-11 11:32:24 +01:00
2018-11-08 12:22:17 +07:00
2019-01-16 15:48:37 -05:00
2019-01-16 15:48:37 -05:00
2018-11-22 11:52:08 +00:00
2018-11-08 12:21:53 +07:00
2019-01-30 14:11:12 -08:00
2019-01-09 18:33:42 +11:00
2019-01-09 18:04:21 +11:00
2018-12-06 10:29:10 -08:00
2018-11-22 11:52:08 +00:00
2019-03-14 13:16:43 -07:00
2019-01-09 23:44:26 +01:00
2019-03-07 13:29:11 -08:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-03-14 09:01:12 +11:00
2019-02-19 09:17:03 +11:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:01:23 -08:00
2018-11-08 12:22:17 +07:00
2019-02-18 17:39:08 -05:00
2018-11-08 12:22:17 +07:00
2019-03-08 22:16:48 +11:00
2018-12-06 10:36:50 -08:00
2019-02-14 10:41:56 +01:00
2019-02-22 15:26:43 +01:00
2018-11-08 12:21:53 +07:00
2019-02-08 05:49:22 -05:00