[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntp-bugs
Subject:    [ntp:bugs] [Bug 455]  New: parse can be dereferenced when NIL
From:       bugzilla () ntp ! isc ! org
Date:       2005-06-28 23:45:59
Message-ID: 20050628234559.E4068398BD () ntp2 ! ntp ! isc ! org
[Download RAW message or body]

http://bugs.ntp.isc.org/show_bug.cgi?id=455

           Summary: parse can be dereferenced when NIL
           Product: ntp
           Version: unspecified
          Platform: N/A
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: refclock - parse
        AssignedTo: rc-parse@ntp.isc.org
        ReportedBy: stenn@ntp.org
                CC: bugs@ntp.isc.org


There are cases (like when the serial line does not open) where the parse
refclock will attempt to close the "parse" structure and this will drop
core because of a NIL dereferencing.

I have seen this happen starting at line 2567 of refclock_parse.c in ntp-dev.

>From inspection, there are subsequent lines of code that will also fail if
this line is fixed.

(I found this in my attempts to get the Meinberg clock working at ISC.)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bugs mailing list
bugs@lists.ntp.isc.org
https://lists.ntp.isc.org/mailman/listinfo/bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic