Re: [MOD] STR #4293: cups/auth.c ignoring return value of 'fgets' error
Douglas Kosovic <[email protected]> Wed, 13 Mar 2013 07:18:15 -0700 (PDT)
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
--PART-BOUNDARY
Content-Type: text/plain
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Attached file "http-c-cupsGlobals.patch.txt"...
Link: https://www.cups.org/str.php?L4293
Version: 1.6-current
--PART-BOUNDARY
Content-Type: text/plain
Content-Disposition: attachment; filename="http-c-cupsGlobals.patch.txt"
Index: cups/http.c
===================================================================
--- cups/http.c (revision 10903)
+++ cups/http.c (working copy)
@@ -3892,6 +3892,8 @@
static int /* O - 0 on success, -1 on failure */
http_setup_ssl(http_t *http) /* I - Connection to server */
{
+ _cups_globals_t *cg = _cupsGlobals();
+ /* Pointer to library globals */
int any_root; /* Allow any root */
char hostname[256], /* Hostname */
*hostptr; /* Pointer into hostname */
@@ -3905,8 +3907,6 @@
gnutls_certificate_client_credentials *credentials;
/* TLS credentials */
# elif defined(HAVE_CDSASSL)
- _cups_globals_t *cg = _cupsGlobals();
- /* Pointer to library globals */
OSStatus error; /* Error code */
const char *message = NULL;/* Error message */
# ifdef HAVE_SECCERTIFICATECOPYDATA
--PART-BOUNDARY
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
--PART-BOUNDARY--