projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c552af
)
Don't access none given soup message.
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 27 Nov 2014 20:37:55 +0000
(21:37 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Thu, 27 Nov 2014 20:37:55 +0000
(21:37 +0100)
src/hsts.c
patch
|
blob
|
history
diff --git
a/src/hsts.c
b/src/hsts.c
index
9ac0603
..
c05a1f5
100644
(file)
--- a/
src/hsts.c
+++ b/
src/hsts.c
@@
-90,6
+90,10
@@
char *hsts_get_changed_uri(SoupSession* session, SoupMessage *msg)
HSTSProvider *provider;
SoupURI *uri;
+ if (!msg) {
+ return NULL;
+ }
+
feature = soup_session_get_feature_for_message(session, HSTS_TYPE_PROVIDER, msg);
uri = soup_message_get_uri(msg);
if (!feature || !uri) {