File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Changes in CUPS v2.4.20 (YYYY-MM-DD)
1212- Increased the size of the SNMP supply name buffer used by the network backends
1313 (Issue #1604 )
1414- The USB backend now clears a halt on USB errors (Issue #1606 )
15+ - Updated a few character tests for signed char platforms (Issue #1623 )
1516- Fixed mapping of standard PPD/PWG/legacy media size names to the local PPD
1617 size name (Issue #1375 )
1718- Fixed handling of multiple PPD: keywords from filters (Issue #1562 ,
Original file line number Diff line number Diff line change @@ -773,7 +773,7 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
773773 _cups_strcasecmp (hostname , ServerName ) &&
774774 _cups_strcasecmp (hostname , "localhost" ) &&
775775 !cupsArrayFind (ServerAlias , hostname ) &&
776- !isdigit (hostname [0 ]) && hostname [0 ] != '[' )
776+ !isdigit (hostname [0 ] & 255 ) && hostname [0 ] != '[' )
777777 {
778778 /*
779779 * Nope, we don't do proxies...
@@ -2673,18 +2673,18 @@ check_if_modified(
26732673
26742674 while (* ptr != '\0' )
26752675 {
2676- while (isspace (* ptr ) || * ptr == ';' )
2676+ while (isspace (* ptr & 255 ) || * ptr == ';' )
26772677 ptr ++ ;
26782678
26792679 if (_cups_strncasecmp (ptr , "length=" , 7 ) == 0 )
26802680 {
26812681 ptr += 7 ;
26822682 size = strtoll (ptr , NULL , 10 );
26832683
2684- while (isdigit (* ptr ))
2684+ while (isdigit (* ptr & 255 ))
26852685 ptr ++ ;
26862686 }
2687- else if (isalpha (* ptr ))
2687+ else if (isalpha (* ptr & 255 ))
26882688 {
26892689 date = httpGetDateTime (ptr );
26902690 while (* ptr != '\0' && * ptr != ';' )
You can’t perform that action at this time.
0 commit comments