Commit Graph

5 Commits (cfddb1fcbb8cadaf18a8717f7274e2f6342df3aa)

Author SHA1 Message Date
Jo-Philipp Wich d26484d8f6 [package] uci: use a delete-safe iterator in the Lua :foreach() function
The following test case exposed a NULL pointer dereference in uci_lua_foreach():
  lua -luci -e 'x=uci.cursor(); x:foreach("firewall", "forwarding", function(s) x:delete("firewall", s[".name"]) end)'


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-01 00:20:00 +00:00
Felix Fietkau d14a12a3e2 uci: update to 2010-09-28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:14:30 +00:00
Travis Kemen 3e93541643 [uci] bump to the lastest git commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 01:28:52 +00:00
Felix Fietkau 29c41ba2ac add ucitrigger: a uci plugin, command line tool and lua interface for automatically applying uci config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-08 01:27:01 +00:00
Felix Fietkau 8bebfa01a3 uci: increase argv size in batch mode to silence a false gcc 4.4 compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 19:34:49 +00:00