Navigation


Changeset 532:4cb8f63a0f67 in freeDiameter


Ignore:
Timestamp:
Sep 6, 2010, 2:46:25 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix segfault when no configuration string is given to the plugins

Location:
extensions/app_radgw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_acct.c

    r530 r532  
    176176        new->confstr = conffile;
    177177       
    178         if (strstr(conffile, "nonai"))
     178        if (conffile && strstr(conffile, "nonai"))
    179179                new->ignore_nai = 1;
    180180       
  • extensions/app_radgw/rgwx_auth.c

    r526 r532  
    142142        new->confstr = confstr;
    143143       
    144         if (strstr(confstr, "nonai"))
     144        if (confstr && strstr(confstr, "nonai"))
    145145                new->ignore_nai = 1;
    146146       
Note: See TracChangeset for help on using the changeset viewer.