Skip to content

Add more detail to NSEC packing errors#1374

Merged
miekg merged 1 commit intomasterfrom
better-error
May 27, 2022
Merged

Add more detail to NSEC packing errors#1374
miekg merged 1 commit intomasterfrom
better-error

Conversation

@miekg
Copy link
Copy Markdown
Owner

@miekg miekg commented May 17, 2022

Add 'in the type bitmap' to make clear where in the RR the error occurs.
Also use 'NSEC(3)' - as this code is shared between NSEC and NSEC3, the
first error used NSECx.

Technically backwards incompatible, but checking strings in errors as
bad practice (although this lib lacks library types).

See #1373

Signed-off-by: Miek Gieben miek@miek.nl

Add 'in the type bitmap' to make clear where in the RR the error occurs.
Also use 'NSEC(3)' - as this code is shared between NSEC and NSEC3, the
first error used NSECx.

Technically backwards incompatible, but checking strings in errors as
bad practice (although this lib lacks library types).

See #1373

Signed-off-by: Miek Gieben <miek@miek.nl>
@miekg miekg requested a review from tmthrgd as a code owner May 17, 2022 14:24
@miekg miekg merged commit eb4745b into master May 27, 2022
@miekg miekg deleted the better-error branch May 27, 2022 09:01
aanm pushed a commit to cilium/dns that referenced this pull request Jul 29, 2022
Add 'in the type bitmap' to make clear where in the RR the error occurs.
Also use 'NSEC(3)' - as this code is shared between NSEC and NSEC3, the
first error used NSECx.

Technically backwards incompatible, but checking strings in errors as
bad practice (although this lib lacks library types).

See miekg#1373

Signed-off-by: Miek Gieben <miek@miek.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant