Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist/ntpd put back initialization of the bu...



details:   https://anonhg.NetBSD.org/src/rev/c39adbab7381
branches:  trunk
changeset: 335863:c39adbab7381
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 27 02:37:18 2015 +0000

description:
put back initialization of the buffer which was accidentally removed.
XXX: pullup-7.

diffstat:

 external/bsd/ntp/dist/ntpd/refclock_parse.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5abb5857519b -r c39adbab7381 external/bsd/ntp/dist/ntpd/refclock_parse.c
--- a/external/bsd/ntp/dist/ntpd/refclock_parse.c       Mon Jan 26 22:47:41 2015 +0000
+++ b/external/bsd/ntp/dist/ntpd/refclock_parse.c       Tue Jan 27 02:37:18 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refclock_parse.c,v 1.13 2014/12/19 20:43:17 christos Exp $     */
+/*     $NetBSD: refclock_parse.c,v 1.14 2015/01/27 02:37:18 christos Exp $     */
 
 /*
  * /src/NTP/REPOSITORY/ntp4-dev/ntpd/refclock_parse.c,v 4.81 2009/05/01 10:15:29 kardel RELEASE_20090105_A
@@ -2535,6 +2535,7 @@
        int i;
        char *s, *t;
 
+       *buffer = '\0';
        s = t = buffer;
 
        i = 0;



Home | Main Index | Thread Index | Old Index