request->proxy_reply may be NULL
authorAlan T. DeKok <aland@freeradius.org>
Mon, 27 Jan 2014 20:30:36 +0000 (15:30 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 Jan 2014 20:30:49 +0000 (15:30 -0500)
src/modules/rlm_eap/rlm_eap.c

index a4a01f5..e165b73 100644 (file)
@@ -663,6 +663,11 @@ static int eap_post_proxy(void *inst, REQUEST *request)
        }
 
        /*
+        *      This is allowed.
+        */
+       if (!request->proxy_reply) return RLM_MODULE_NOOP;
+
+       /*
         *      There may be more than one Cisco-AVPair.
         *      Ensure we find the one with the LEAP attribute.
         */