Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
cups
cups-branch-2.2-commit-b643d6ba92f00752aa5e74ff...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cups-branch-2.2-commit-b643d6ba92f00752aa5e74ff86ad3974334914c1.diff of Package cups
From b643d6ba92f00752aa5e74ff86ad3974334914c1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet <michael.r.sweet@gmail.com> Date: Wed, 11 Apr 2018 22:03:57 -0400 Subject: [PATCH] Fix cups_auth_find for schemes without parameters. --- cups/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cups/auth.c b/cups/auth.c index 5a13de008c..740b079891 100644 --- a/cups/auth.c +++ b/cups/auth.c @@ -620,7 +620,7 @@ cups_auth_find(const char *www_authenticate, /* I - Pointer into WWW-Authenticat * See if this is "Scheme" followed by whitespace or the end of the string. */ - if (!strncmp(www_authenticate, scheme, schemelen) && (isspace(www_authenticate[schemelen] & 255) || !www_authenticate[schemelen])) + if (!strncmp(www_authenticate, scheme, schemelen) && (isspace(www_authenticate[schemelen] & 255) || www_authenticate[schemelen] == ',' || !www_authenticate[schemelen])) { /* * Yes, this is the start of the scheme-specific information...
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor