BIND 10 #838: "string iterator is not dereferencable" issue
BIND 10 Development
do-not-reply at isc.org
Wed May 4 05:56:59 UTC 2011
#838: "string iterator is not dereferencable" issue
-------------------------------------+-------------------------------------
Reporter: | Owner: ocean
fdupont | Status: reviewing
Type: | Milestone:
defect | Sprint-20110517
Priority: major | Resolution:
Component: | Sensitive: 0
Unclassified | Sub-Project: DNS
Keywords: | Estimated Difficulty: 0.0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by ocean):
On windows, the compiler will validate the character that passed to
isspace() on DEBUG mode:
{{{
_ASSERTE((unsigned)(c + 1) <= 256);
}}}
So if c < -1 it will make this ASSERT fail. So I added some checking
before the parameter is passed to isspace().
--
Ticket URL: <http://bind10.isc.org/ticket/838#comment:11>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list