]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
be 'NOT NULL' to prevent SEGV
authorJorge Pereira <jpereiran@gmail.com>
Mon, 17 Aug 2015 17:21:12 +0000 (14:21 -0300)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 19 Aug 2015 04:17:31 +0000 (00:17 -0400)
src/main/pair.c

index c7702aea475b74941ee637e8689f401988d7d9ec..12bc0b92bc55953805a72a602e9d00b7bd996e05 100644 (file)
@@ -853,7 +853,7 @@ void vmodule_failure_msg(REQUEST *request, char const *fmt, va_list ap)
        VALUE_PAIR *vp;
        va_list aq;
 
-       if (!fmt || !request->packet) {
+       if (!fmt || !request || !request->packet) {
                return;
        }