projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
procd: update mirror hash
[oweals/openwrt.git]
/
package
/
system
/
opkg
/
patches
/
270-fix-use-after-free.patch
1
--- a/libopkg/opkg_download.c
2
+++ b/libopkg/opkg_download.c
3
@@ -335,7 +335,7 @@ opkg_prepare_url_for_install(const char
4
hash_insert_pkg(pkg, 1);
5
6
if (namep) {
7
- *namep = pkg->name;
8
+ *namep = xstrdup(pkg->name);
9
}
10
return 0;
11
}