Skip to content
Commit 737e1c09 authored by Alexander Tsoy's avatar Alexander Tsoy Committed by Zbigniew Jędrzejewski-Szmek
Browse files

resolved: do not try to copy empty NSEC types bitmaps

dns_resource_record_copy() assumes that NSEC types bitmap is non-empty
which results in a null pointer dereference inside bitmap_copy() in some
cases. Fix this by calling bitmap_copy() conditionally.

(cherry picked from commit 1f00a50c)
(cherry picked from commit fc7be6db)
(cherry picked from commit 3422b16e)
parent ae2ebb8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment