summaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/011-old-config-location.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-12-21 15:09:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-12-21 15:09:08 +0000
commit51d2ab9308bc124589d63f61ecdd123d1df6038d (patch)
treec85bf01176f7cc9b31d21b1fd449ccd820c24ffa /package/opkg/patches/011-old-config-location.patch
parentc00d5e59f0ebeb7d6caa8418c487c13385a97dcc (diff)
downloadmaster-31e0f0ae-51d2ab9308bc124589d63f61ecdd123d1df6038d.tar.gz
master-31e0f0ae-51d2ab9308bc124589d63f61ecdd123d1df6038d.tar.bz2
master-31e0f0ae-51d2ab9308bc124589d63f61ecdd123d1df6038d.zip
opkg: fix invalid free triggered by 011-old-config-location.patch and replace 012-cleanup-tmpdir.patch with upstream fix
SVN-Revision: 18879
Diffstat (limited to 'package/opkg/patches/011-old-config-location.patch')
-rw-r--r--package/opkg/patches/011-old-config-location.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opkg/patches/011-old-config-location.patch b/package/opkg/patches/011-old-config-location.patch
index 40d0b75665..518993b254 100644
--- a/package/opkg/patches/011-old-config-location.patch
+++ b/package/opkg/patches/011-old-config-location.patch
@@ -7,7 +7,7 @@
-
+
+ if(!conf->conf_file)
-+ conf->conf_file = "/etc/opkg.conf";
++ conf->conf_file = xstrdup("/etc/opkg.conf");
+
if (parse_err)
return parse_err;