BIND 10 #2086: allow construct LabelSequence from "raw data"
BIND 10 Development
do-not-reply at isc.org
Thu Jul 12 07:39:06 UTC 2012
#2086: allow construct LabelSequence from "raw data"
-------------------------------------+-------------------------------------
Reporter: | Owner: jelte
jinmei | Status: reviewing
Type: task | Milestone:
Priority: | Sprint-20120717
medium | Resolution:
Component: | Sensitive: 0
libdns++ | Sub-Project: DNS
Keywords: | Estimated Difficulty: 6
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
scalable inmemory |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
Replying to [comment:8 muks]:
> Jelte: One more thing, sorry: What happens if the data passed to the raw
data constructor exceeds MAX_LABELLEN and MAX_WIRE? How do we handle
these? There should also be tests to test these conditions.
As noted in the ticket description, it's indeed worth considering how
much we should validate the input. While it could be relatively
expensive for input that is basically assumed to be safe, I guess it
may be still better to make sure at the constructor that the resulting
sequence is really valid. We can subsequently check the performance
impact (after completing everything) and revisit how much we should
skip the check for higher performance.
--
Ticket URL: <http://bind10.isc.org/ticket/2086#comment:10>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list