BIND 10 #842: Do range check within C++ class
BIND 10 Development
do-not-reply at isc.org
Thu Apr 7 08:49:01 UTC 2011
#842: Do range check within C++ class
------------------------------------+---------------------------------
Reporter: zzchen_pku | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Unclassified | Keywords:
Sensitive: 0 | Estimated Number of Hours: 0
Add Hours to Ticket: 0 | Billable?: 1
Total Hours: 0 | Internal?: 0
------------------------------------+---------------------------------
Some of the long int variables can be a plain int: Message_init,
Message_clear, MessageRenderer_setCompressMode. (although being long is
not necessarily incorrect; it just consumes more (stack) space
unnecessarily).
Actually, in these cases it make more sense to do this check within the
corresponding C++ class (Message, MessageRenderer?, etc) and delegate the
check to it.
--
Ticket URL: <https://bind10.isc.org/ticket/842>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list