diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-04-23 14:03:50 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-23 14:03:50 +0200 |
commit | 4c60a6f803759105d59b3e1fc52a9e37eecd08cd (patch) | |
tree | 95778cf7807a5364acac8d5bc205c4f205713c30 /package/system/opkg/Makefile | |
parent | b9466382b54892c186dea356e701b5ecec86d8aa (diff) | |
download | upstream-4c60a6f803759105d59b3e1fc52a9e37eecd08cd.tar.gz upstream-4c60a6f803759105d59b3e1fc52a9e37eecd08cd.tar.bz2 upstream-4c60a6f803759105d59b3e1fc52a9e37eecd08cd.zip |
opkg: fix use-after-free with duplicate packages on the command line
When the same package file is specified multiple times on the opkg install
command line, the name pointer on the argv array becomes stale after the
package structures have been merged, leading to invalid memory accesses
upon install.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system/opkg/Makefile')
-rw-r--r-- | package/system/opkg/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile index 01a7d796de..af4474254e 100644 --- a/package/system/opkg/Makefile +++ b/package/system/opkg/Makefile @@ -1,5 +1,6 @@ # # Copyright (C) 2006-2015 OpenWrt.org +# Copyright (C) 2016 LEDE Project # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -12,7 +13,7 @@ include $(INCLUDE_DIR)/feeds.mk PKG_NAME:=opkg PKG_REV:=9c97d5ecd795709c8584e972bfdf3aee3a5b846d PKG_VERSION:=$(PKG_REV) -PKG_RELEASE:=12 +PKG_RELEASE:=13 PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=$(PKG_REV) |