diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-05 01:15:00 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-05 01:15:00 +0200 |
commit | 537690838e712f360009b3859a6d5f155465e2a5 (patch) | |
tree | e8720d8752a68821203719f43d200ecd169fc19e | |
parent | c7430fd3578af03d9fe998f3195756603295ce2f (diff) | |
download | uci-537690838e712f360009b3859a6d5f155465e2a5.tar.gz |
fix segmentation fault / endless loop on history loads
-rw-r--r-- | list.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |