projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] opkg: fix invalid free triggered by 011-old-config-location.patch and repla...
[openwrt/svn-archive/archive.git]
/
package
/
opkg
/
patches
/
011-old-config-location.patch
diff --git
a/package/opkg/patches/011-old-config-location.patch
b/package/opkg/patches/011-old-config-location.patch
index 40d0b7566506258efda659b9ee69a38e6113e488..518993b254ae2bc13347ab97c887073a19beb86b 100644
(file)
--- 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;