pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/sleuthkit Add a fix for CVE-2017-13755, point...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/548dc249c57e
branches:  trunk
changeset: 312048:548dc249c57e
user:      he <he%pkgsrc.org@localhost>
date:      Thu Aug 23 07:47:34 2018 +0000

description:
Add a fix for CVE-2017-13755, pointed to from
https://github.com/sleuthkit/sleuthkit/issues/913
Bump PKGREVISION.

diffstat:

 security/sleuthkit/Makefile                             |   4 ++--
 security/sleuthkit/distinfo                             |   3 ++-
 security/sleuthkit/patches/patch-tsk_fs_iso9660__dent.c |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 6a34545137c6 -r 548dc249c57e security/sleuthkit/Makefile
--- a/security/sleuthkit/Makefile       Wed Aug 22 20:48:36 2018 +0000
+++ b/security/sleuthkit/Makefile       Thu Aug 23 07:47:34 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2018/08/22 09:46:29 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2018/08/23 07:47:34 he Exp $
 
 DISTNAME=      sleuthkit-4.1.3
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    security sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sleuthkit/}
 
diff -r 6a34545137c6 -r 548dc249c57e security/sleuthkit/distinfo
--- a/security/sleuthkit/distinfo       Wed Aug 22 20:48:36 2018 +0000
+++ b/security/sleuthkit/distinfo       Thu Aug 23 07:47:34 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:18:09 agc Exp $
+$NetBSD: distinfo,v 1.6 2018/08/23 07:47:34 he Exp $
 
 SHA1 (sleuthkit-4.1.3.tar.gz) = 9350bb59bb5fbe41d6e29a8d0494460b937749ef
 RMD160 (sleuthkit-4.1.3.tar.gz) = 223c6ffe22259ca057b6d9634813536e7ccd9dba
@@ -6,4 +6,5 @@
 Size (sleuthkit-4.1.3.tar.gz) = 7952733 bytes
 SHA1 (patch-configure) = aa08d433f3bdc2fa96bcfe6e39897006b9ac3b3f
 SHA1 (patch-tools_autotools_tsk__recover.cpp) = c82f8c366ae2675ee6c0c948c466b40f27bc1163
+SHA1 (patch-tsk_fs_iso9660__dent.c) = d60cb41962c750a3f9d8941b52191fd1bb06cda9
 SHA1 (patch-tsk_img__tsk_img.h) = e466387bb40fdb14473ee835e168c0b28f43ab20
diff -r 6a34545137c6 -r 548dc249c57e security/sleuthkit/patches/patch-tsk_fs_iso9660__dent.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/sleuthkit/patches/patch-tsk_fs_iso9660__dent.c   Thu Aug 23 07:47:34 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-tsk_fs_iso9660__dent.c,v 1.1 2018/08/23 07:47:34 he Exp $
+
+--- tsk/fs/iso9660_dent.c.orig 2014-01-27 03:27:03.000000000 +0000
++++ tsk/fs/iso9660_dent.c
+@@ -98,6 +98,12 @@ iso9660_proc_dir(TSK_FS_INFO * a_fs, TSK
+     iso9660_inode_node *in;
+     TSK_OFF_T dir_offs = a_dir_addr * a_fs->block_size;
+ 
++    // had an issue once where dir was too small
++    // manu later calculations assume we can fit at least one entry
++    if (a_length < sizeof(iso9660_dentry)) {
++      return TSK_OK;
++    }
++
+     if ((fs_name = tsk_fs_name_alloc(ISO9660_MAXNAMLEN + 1, 0)) == NULL)
+         return TSK_ERR;
+ 



Home | Main Index | Thread Index | Old Index