pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/less Update to less-475. Changes since 470:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0eab0693f85f
branches:  trunk
changeset: 649934:0eab0693f85f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 13 12:33:49 2015 +0000

description:
Update to less-475. Changes since 470:
* Fix possible memory corruption
* Disable history feature when compiled with LESSHISTFILE set to "-".
* Fix bug where prompt was sometimes not displayed with +G.

Also contains a fix for CVE-2014-9488 (oob read on malformed UTF-8 data)

diffstat:

 misc/less/Makefile         |   4 ++--
 misc/less/distinfo         |   9 ++++-----
 misc/less/patches/patch-ac |  16 ----------------
 3 files changed, 6 insertions(+), 23 deletions(-)

diffs (46 lines):

diff -r 905e19d45d5b -r 0eab0693f85f misc/less/Makefile
--- a/misc/less/Makefile        Mon Apr 13 12:05:08 2015 +0000
+++ b/misc/less/Makefile        Mon Apr 13 12:33:49 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2014/12/08 00:55:58 rodent Exp $
+# $NetBSD: Makefile,v 1.25 2015/04/13 12:33:49 tnn Exp $
 
-DISTNAME=      less-470
+DISTNAME=      less-475
 CATEGORIES=    misc
 MASTER_SITES=  http://www.greenwoodsoftware.com/less/
 
diff -r 905e19d45d5b -r 0eab0693f85f misc/less/distinfo
--- a/misc/less/distinfo        Mon Apr 13 12:05:08 2015 +0000
+++ b/misc/less/distinfo        Mon Apr 13 12:33:49 2015 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.14 2014/12/08 00:55:58 rodent Exp $
+$NetBSD: distinfo,v 1.15 2015/04/13 12:33:49 tnn Exp $
 
-SHA1 (less-470.tar.gz) = 167c0b65bb086895b2a9583a52b6a74e10d5e933
-RMD160 (less-470.tar.gz) = c24bd0994b597b953b55d8e928136ccb76f3c88c
-Size (less-470.tar.gz) = 316014 bytes
-SHA1 (patch-ac) = d50886aff976d81f23684cd96b5c9e7f94554b93
+SHA1 (less-475.tar.gz) = 8232220364ce95fe2397fd717cad4ecffa6bcbce
+RMD160 (less-475.tar.gz) = a1404028b0d17492a1f8f28a2e4638de0975e6dd
+Size (less-475.tar.gz) = 316345 bytes
diff -r 905e19d45d5b -r 0eab0693f85f misc/less/patches/patch-ac
--- a/misc/less/patches/patch-ac        Mon Apr 13 12:05:08 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2011/07/08 10:42:53 tron Exp $
-
-Fix resource leak found by Coverity scan of the NetBSD sources.
-
---- edit.c.orig        2005-12-03 21:20:32.000000000 +0100
-+++ edit.c
-@@ -711,7 +711,8 @@ use_logfile(filename)
-        */
-       filename = shell_unquote(filename);
-       exists = open(filename, OPEN_READ);
--      close(exists);
-+      if (exists >= 0)
-+              close(exists);
-       exists = (exists >= 0);
- 
-       /*



Home | Main Index | Thread Index | Old Index