projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5077cdc
)
ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Oct 2011 13:14:30 +0000
(15:14 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Oct 2011 13:17:06 +0000
(15:17 +0200)
ucimap.c
patch
|
blob
|
history
diff --git
a/ucimap.c
b/ucimap.c
index 7af7f635af45dca8d19b61f81ac94de47fdee530..776a30439ef2ac9839e3cd5d6f5e25c4bdfb2e99 100644
(file)
--- 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;