mt76: ensure that the metapackage gets built as .ipk
[openwrt/staging/dedeckeh.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 }