BIND 10 #838: "string iterator is not dereferencable" issue

BIND 10 Development do-not-reply at isc.org
Sat Apr 9 02:07:17 UTC 2011


#838: "string iterator is not dereferencable" issue
------------------------------------------+---------------------------
                 Reporter:  fdupont       |                Owner:
                     Type:  defect        |               Status:  new
                 Priority:  major         |            Milestone:
                Component:  Unclassified  |           Resolution:
                 Keywords:                |            Sensitive:  0
Estimated Number of Hours:  0             |  Add Hours to Ticket:  0
                Billable?:  1             |          Total Hours:  0
                Internal?:  0             |
------------------------------------------+---------------------------

Comment (by fdupont):

 Proposed fixes:
  - add in !DecodeNomalizer operator*() at the beginning:
       if (base_ == base_end_)
         isc_throw(!BadValue, "end of input");

  - add (int)xxx & 0xff to the two calls to isspace()
   (with _DEBUG set isspace int argument must verify
   ((unsigned)xxx + 1) <= 256

 With this (src/lib/dns/tests) run_unittests no longer crashes
 in Debug mode on Windows with Visual Studio 2010.
 Tested on Visual Studio 2008 too...

-- 
Ticket URL: <http://bind10.isc.org/ticket/838#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list