]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 750]: Non-existing device causes coredump with RIPE-NCC driver
authorHarlan Stenn <stenn@ntp.org>
Tue, 12 Oct 2010 05:28:24 +0000 (01:28 -0400)
committerHarlan Stenn <stenn@ntp.org>
Tue, 12 Oct 2010 05:28:24 +0000 (01:28 -0400)
bk: 4cb3f1f8R7gFSNL509ywMU0oxh_IRw

ChangeLog
ntpd/refclock_ripencc.c

index fb24902a617eed3d55c3a33c90f5f87af5ff60ba..bf01e325ead44780a68d4a036bbc8731a71b9f00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,12 @@
 ---
 
-* [Bug 750]: Non-existing device causes coredump with RIPE-NCC driver.
-* [Bug 1567]: Support Arbiter 1093C Satellite Clock on Windows.
-* [Bug 1643]: Range-check the decoding of the RIPE-NCC status codes.
-* [Bug 1644]: cvo.sh should use lsb_release to identify linux distros.
-* [Bug 1659]: Support Truetime Satellite Clocks on Windows.
-* [Bug 1660]: On some systems, test is in /usr/bin, not /bin.
-* [Bug 1661]: Re-indent refclock_ripencc.c.
+* [Bug 750] Non-existing device causes coredump with RIPE-NCC driver.
+* [Bug 1567] Support Arbiter 1093C Satellite Clock on Windows.
+* [Bug 1643] Range-check the decoding of the RIPE-NCC status codes.
+* [Bug 1644] cvo.sh should use lsb_release to identify linux distros.
+* [Bug 1659] Support Truetime Satellite Clocks on Windows.
+* [Bug 1660] On some systems, test is in /usr/bin, not /bin.
+* [Bug 1661] Re-indent refclock_ripencc.c.
 
 ---
 (4.2.6p3-RC2) 2010/09/25 Released by Harlan Stenn <stenn@ntp.org>
index 02a1dc4dc4a2269f8a8cf969b5ddd8aaa8e6fa33..3ce3a73750b3becef4fbb872a8f5a2d0a80f27d5 100644 (file)
@@ -514,7 +514,7 @@ ripencc_start(int unit, struct peer *peer)
        pp->io.srcclock = (caddr_t)peer;
        pp->io.datalen = 0;
        if (!io_addclock(&pp->io)) {
-               /* XXX HMS: Do we need to set pp->io.fd to -1 here? */
+               pp->io.fd = -1;
                (void) close(fd);
                free(up);
                return (0);