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:
12d1290
)
add extra null pointer check
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Jan 2008 18:21:00 +0000
(19:21 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Jan 2008 18:21:00 +0000
(19:21 +0100)
list.c
patch
|
blob
|
history
diff --git
a/list.c
b/list.c
index 5332800fe32975c98c8b8a14b2b47d378b874d6f..d78970ca9fa6a1fa4a0ffd914f23fb568cf0989d 100644
(file)
--- a/
list.c
+++ b/
list.c
@@
-293,6
+293,7
@@
int uci_set(struct uci_context *ctx, char *package, char *section, char *option,
UCI_HANDLE_ERR(ctx);
UCI_ASSERT(ctx, package != NULL);
UCI_ASSERT(ctx, section != NULL);
+ UCI_ASSERT(ctx, value != NULL);
/*
* look up the package, section and option (if set)