pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2018Q2]: pkgsrc/security/sleuthkit Pullup ticket #5822 - reque...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a62417bc13a
branches:  pkgsrc-2018Q2
changeset: 408448:8a62417bc13a
user:      spz <spz%pkgsrc.org@localhost>
date:      Wed Sep 12 05:06:56 2018 +0000

description:
Pullup ticket #5822 - requested by bsiegert
security/sleuthkit: security fix

Revisions pulled up:
- security/sleuthkit/Makefile                                   1.11
- security/sleuthkit/distinfo                                   1.6
- security/sleuthkit/patches/patch-tsk_fs_iso9660__dent.c       1.1

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   he
   Date:           Thu Aug 23 07:47:34 UTC 2018

   Modified Files:
           pkgsrc/security/sleuthkit: Makefile distinfo
   Added Files:
           pkgsrc/security/sleuthkit/patches: patch-tsk_fs_iso9660__dent.c

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


   To generate a diff of this commit:
   cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/sleuthkit/Makefile
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/sleuthkit/distinfo
   cvs rdiff -u -r0 -r1.1 \
       pkgsrc/security/sleuthkit/patches/patch-tsk_fs_iso9660__dent.c

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 31cb179b2ad1 -r 8a62417bc13a security/sleuthkit/Makefile
--- a/security/sleuthkit/Makefile       Tue Sep 11 06:17:09 2018 +0000
+++ b/security/sleuthkit/Makefile       Wed Sep 12 05:06:56 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2016/07/09 06:38:57 wiz Exp $
+# $NetBSD: Makefile,v 1.8.18.1 2018/09/12 05:06:56 spz Exp $
 
 DISTNAME=      sleuthkit-4.1.3
-PKGREVISION=   4
+PKGREVISION=   6
 CATEGORIES=    security sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sleuthkit/}
 
diff -r 31cb179b2ad1 -r 8a62417bc13a security/sleuthkit/distinfo
--- a/security/sleuthkit/distinfo       Tue Sep 11 06:17:09 2018 +0000
+++ b/security/sleuthkit/distinfo       Wed Sep 12 05:06:56 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:18:09 agc Exp $
+$NetBSD: distinfo,v 1.5.24.1 2018/09/12 05:06:56 spz 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 31cb179b2ad1 -r 8a62417bc13a 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   Wed Sep 12 05:06:56 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-tsk_fs_iso9660__dent.c,v 1.1.2.2 2018/09/12 05:06:56 spz 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