Browse Source

grep: update to 2.22

Signed-off-by: Julen Landa Alustiza <julen@zokormazo.info>
lilik-openwrt-22.03
Julen Landa Alustiza 9 years ago
parent
commit
91f81c65e9
2 changed files with 4 additions and 19 deletions
  1. +4
    -4
      utils/grep/Makefile
  2. +0
    -15
      utils/grep/patches/0001-grep-F-fix-a-heap-buffer-read-overrun.patch

+ 4
- 4
utils/grep/Makefile View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2010-2012 OpenWrt.org
# Copyright (C) 2010-2015 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=grep PKG_NAME:=grep
PKG_VERSION:=2.21
PKG_RELEASE:=2
PKG_VERSION:=2.22
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/grep PKG_SOURCE_URL:=@GNU/grep
PKG_MD5SUM:=43c48064d6409862b8a850db83c8038a
PKG_MD5SUM:=e1015e951a49a82b02e38891026ef5df
PKG_LICENSE:=GPL-3.0 PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING


+ 0
- 15
utils/grep/patches/0001-grep-F-fix-a-heap-buffer-read-overrun.patch View File

@ -1,15 +0,0 @@
diff --git a/src/kwset.c b/src/kwset.c
index 4003c8d..376f7c3 100644
--- a/src/kwset.c
+++ b/src/kwset.c
@@ -643,6 +643,8 @@ bmexec_trans (kwset_t kwset, char const *text, size_t size)
if (! tp)
return -1;
tp++;
+ if (ep <= tp)
+ break;
}
}
}
--
cgit v0.9.0.2

Loading…
Cancel
Save