]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
if vp is NULL.... don't dereference it
authorAlan T. DeKok <aland@freeradius.org>
Sat, 27 Jan 2018 13:16:01 +0000 (08:16 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 27 Jan 2018 13:16:27 +0000 (08:16 -0500)
src/modules/rlm_eap/lib/base/eapcommon.c

index f403b76124a7dc10efd89c85598e9f1073bc6d89..29f8acea35eb408cb8761e0c63d1b462934d7304 100644 (file)
@@ -381,7 +381,7 @@ void eap_add_reply(REQUEST *request,
 
        vp = pair_make_reply(name, NULL, T_OP_EQ);
        if (!vp) {
-               RPEDEBUG("Did not create attribute %s", vp->da->name);
+               RPEDEBUG("Did not create attribute %s", name);
                return;
        }