FreeBSD Bugzilla – Attachment 34428 Details for
Bug 55944
www/squid NCSA basic auth problem - PATCH included
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-ncsa.c
patch-ncsa.c (text/plain), 523 bytes, created by
Mário Freitas
on 2003-08-25 03:40:12 UTC
(
hide
)
Description:
patch-ncsa.c
Filename:
MIME Type:
Creator:
Mário Freitas
Created:
2003-08-25 03:40:12 UTC
Size:
523 bytes
patch
obsolete
>--- helpers/basic_auth/NCSA/ncsa_auth.c.orig Mon Aug 12 02:13:39 2002 >+++ helpers/basic_auth/NCSA/ncsa_auth.c Mon Aug 25 02:29:50 2003 >@@ -79,7 +79,10 @@ > fprintf(stderr, "ncsa_auth: cannot create hash table\n"); > exit(1); > } >- f = fopen(passwdfile, "r"); >+ if ((f = fopen(passwdfile, "r")) == NULL) { >+ fprintf(stderr, "ncsa_auth: cannot open password file\n"); >+ exit(1); >+ } > while (fgets(buf, 8192, f) != NULL) { > if ((buf[0] == '#') || (buf[0] == ' ') || (buf[0] == '\t') || > (buf[0] == '\n'))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 55944
: 34428