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:
c7430fd
)
fix segmentation fault / endless loop on history loads
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 4 Sep 2008 23:15:00 +0000
(
01:15
+0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 4 Sep 2008 23:15:00 +0000
(
01:15
+0200)
list.c
patch
|
blob
|
history
diff --git
a/list.c
b/list.c
index 0ddf4093644edff97b979d778734a2bfd705c972..fe2e6ec225940b488b9bdbae771499f953ee7bb4 100644
(file)
--- a/
list.c
+++ b/
list.c
@@
-467,7
+467,7
@@
expand_ptr(struct uci_context *ctx, struct uci_ptr *ptr, bool complete)
UCI_ASSERT(ctx, ptr != NULL);
if (!(ptr->flags & UCI_LOOKUP_DONE))
-
uci_lookup_ptr(
ctx, ptr, NULL, 1);
+
UCI_INTERNAL(uci_lookup_ptr,
ctx, ptr, NULL, 1);
if (complete && !(ptr->flags & UCI_LOOKUP_COMPLETE))
UCI_THROW(ctx, UCI_ERR_NOTFOUND);
UCI_ASSERT(ctx, ptr->p != NULL);