mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
3b96446b11
update ntp port that incorporates latest security fix. PR: 26503 Submitted by: Cy.Schubert@uumail.gov.bc.ca
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
--- ntpd/ntp_control.c.orig Mon Apr 9 13:19:56 2001
|
|
+++ ntpd/ntp_control.c Wed Apr 11 20:53:28 2001
|
|
@@ -1823,7 +1823,7 @@
|
|
* Delete leading commas and white space
|
|
*/
|
|
while (reqpt < reqend && (*reqpt == ',' ||
|
|
- isspace((int)*reqpt)))
|
|
+ isspace((unsigned char)*reqpt)))
|
|
reqpt++;
|
|
if (reqpt >= reqend)
|
|
return (0);
|
|
@@ -1846,7 +1846,7 @@
|
|
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';
|
|
@@ -1859,7 +1859,7 @@
|
|
if (*cp == '=') {
|
|
cp++;
|
|
tp = buf;
|
|
- while (cp < reqend && isspace((int)*cp))
|
|
+ while (cp < reqend && isspace((unsigned char)*cp))
|
|
cp++;
|
|
while (cp < reqend && *cp != ',') {
|
|
*tp++ = *cp++;
|
|
@@ -1870,7 +1870,7 @@
|
|
cp++;
|
|
while (tp > buf) {
|
|
*tp-- = '\0';
|
|
- if (!isspace((int)(*tp)))
|
|
+ if (!isspace((unsigned char)(*tp)))
|
|
break;
|
|
}
|
|
reqpt = cp;
|