Changeset aed00f8 for storage_xml.c


Ignore:
Timestamp:
2013-06-01T00:18:18Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
41a94dd
Parents:
f2d8aa2
Message:

NULL initialisation, fixes crash on trying to load configs from inaccessible
file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    rf2d8aa2 raed00f8  
    174174        char *fn, buf[2048];
    175175        int fd, st;
    176         struct xt_parser *xp;
     176        struct xt_parser *xp = NULL;
    177177        struct xt_node *node;
    178178        storage_status_t ret = STORAGE_OTHER_ERROR;
Note: See TracChangeset for help on using the changeset viewer.