From: Felix Fietkau Date: Fri, 21 Oct 2011 13:14:30 +0000 (+0200) Subject: ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d068b9f9d7adcc43264fb1931256536aa89a980d;p=project%2Fuci.git ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev) --- diff --git a/ucimap.c b/ucimap.c index 7af7f63..776a304 100644 --- a/ucimap.c +++ b/ucimap.c @@ -314,6 +314,7 @@ ucimap_add_fixup(struct ucimap_section_data *sd, union ucimap_data *data, struct struct ucimap_fixup *f, tmp; struct uci_map *map = sd->map; + tmp.next = NULL; tmp.sm = om->data.sm; tmp.name = str; tmp.type = om->type;