projects
/
mod_auth_gssapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06e34da
)
Fix segfault if req->main is NULL
author
Simo Sorce
<simo@redhat.com>
Sat, 6 Jun 2015 14:18:43 +0000
(10:18 -0400)
committer
Simo Sorce
<simo@redhat.com>
Sat, 6 Jun 2015 14:19:39 +0000
(10:19 -0400)
Seen in the wild.
Closes #35
Signed-off-by: Simo Sorce <simo@redhat.com>
src/mod_auth_gssapi.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_gssapi.c
b/src/mod_auth_gssapi.c
index
9c9b1b2
..
d351777
100644
(file)
--- a/
src/mod_auth_gssapi.c
+++ b/
src/mod_auth_gssapi.c
@@
-323,7
+323,7
@@
static int mag_auth(request_rec *req)
}
/* implicit auth for subrequests if main auth already happened */
- if (!ap_is_initial_req(req)) {
+ if (!ap_is_initial_req(req)
&& req->main != NULL
) {
type = ap_auth_type(req->main);
if ((type != NULL) && (strcasecmp(type, "GSSAPI") == 0)) {
/* warn if the subrequest location and the main request