strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
356b2b2
)
double check session id has been initialized
author
Martin Willi
<martin@strongswan.org>
Thu, 10 Sep 2009 18:51:43 +0000
(20:51 +0200)
committer
Martin Willi
<martin@strongswan.org>
Thu, 10 Sep 2009 18:51:43 +0000
(20:51 +0200)
src/libfast/dispatcher.c
patch
|
blob
|
history
diff --git
a/src/libfast/dispatcher.c
b/src/libfast/dispatcher.c
index
c6ac983
..
e99923d
100644
(file)
--- a/
src/libfast/dispatcher.c
+++ b/
src/libfast/dispatcher.c
@@
-259,7
+259,7
@@
static void dispatch(private_dispatcher_t *this)
continue;
}
/* find by session ID. Prevent session hijacking by host check */
continue;
}
/* find by session ID. Prevent session hijacking by host check */
- if (!found && sid &&
+ if (!found && sid &&
current->session->get_sid(current->session) &&
streq(current->session->get_sid(current->session), sid) &&
streq(current->host, request->get_host(request)))
{
streq(current->session->get_sid(current->session), sid) &&
streq(current->host, request->get_host(request)))
{