summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-05-13 14:41:18 +0200
committerJan Pazdziora <jpazdziora@redhat.com>2014-05-13 14:41:23 +0200
commitea4d7f36e5b60914674c2aa736e2051aee97b091 (patch)
tree771e30b59698a9e6c4b342d8ef06d678101df92e
parentd4d3d8f2e53dd6abbd3141041830c643bc19e26a (diff)
downloadmod_lookup_identity-ea4d7f36e5b60914674c2aa736e2051aee97b091.tar.gz
mod_lookup_identity-ea4d7f36e5b60914674c2aa736e2051aee97b091.tar.xz
mod_lookup_identity-ea4d7f36e5b60914674c2aa736e2051aee97b091.zip
Check the args pointer.
Addressing var_deref_op – Dereferencing null pointer "args".
-rw-r--r--mod_lookup_identity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c
index 343b0ba..eac1165 100644
--- a/mod_lookup_identity.c
+++ b/mod_lookup_identity.c
@@ -116,7 +116,7 @@ static DBusMessage * lookup_identity_dbus_message(request_rec * r, DBusConnectio
}
if (is_error) {
char * args_string = "";
- if (nargs) {
+ if (args) {
int total_args_length = 0;
int i;
for (i = 0; i < nargs; i++) {