From 3b96446b1131cd92fb79d67f0c00bcdf9ca75b81 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 15 Apr 2001 13:57:26 +0000 Subject: maintainer-update: update ntp port that incorporates latest security fix. PR: 26503 Submitted by: Cy.Schubert@uumail.gov.bc.ca --- net/ntp-devel/files/patch-ntp_control.c | 44 --------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 net/ntp-devel/files/patch-ntp_control.c (limited to 'net/ntp-devel/files/patch-ntp_control.c') diff --git a/net/ntp-devel/files/patch-ntp_control.c b/net/ntp-devel/files/patch-ntp_control.c deleted file mode 100644 index e93732fb37fc..000000000000 --- a/net/ntp-devel/files/patch-ntp_control.c +++ /dev/null @@ -1,44 +0,0 @@ ---- ntpd/ntp_control.c.orig Sat Jul 15 10:46:05 2000 -+++ ntpd/ntp_control.c Fri Apr 6 10:41:43 2001 -@@ -1782,7 +1782,7 @@ - * Delete leading commas and white space - */ - while (reqpt < reqend && (*reqpt == ',' || -- isspace((int)*reqpt))) -+ isspace((unsigned char)*reqpt))) - reqpt++; - if (reqpt >= reqend) - return (0); -@@ -1805,7 +1805,8 @@ - tp++; - } - if ((*tp == '\0') || (*tp == '=')) { -- while (cp < reqend && isspace((int)*cp)) -+ while (cp < reqend && -+ isspace((unsigned char)*cp)) - cp++; - if (cp == reqend || *cp == ',') { - buf[0] = '\0'; -@@ -1819,15 +1820,18 @@ - cp++; - tp = buf; - while (cp < reqend && -- isspace((int)*cp)) -+ isspace((unsigned char)*cp)) - cp++; -- while (cp < reqend && *cp != -- ',') -+ while (cp < reqend && *cp != ',') { - *tp++ = *cp++; -+ if (tp >= buf + sizeof(buf)) -+ return (0); -+ } - if (cp < reqend) - cp++; - *tp = '\0'; -- while (isspace((int)(*(tp-1)))) -+ while (tp != buf && -+ isspace((unsigned char)(*(tp-1)))) - *(--tp) = '\0'; - reqpt = cp; - *data = buf; -- cgit v1.2.3