diff --git a/0006-Add-attributes-file-nodesize-check.patch b/0006-Add-attributes-file-nodesize-check.patch deleted file mode 100644 index 19c1927ad5f84703e74f7efc3e8bef12bf8fe498..0000000000000000000000000000000000000000 --- a/0006-Add-attributes-file-nodesize-check.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 1e5d36e31edc7a46d3cea0c1e65941f9dc753fc3 Mon Sep 17 00:00:00 2001 -From: lingsheng -Date: Fri, 18 Dec 2020 10:52:36 +0800 -Subject: [PATCH] Add attributes file nodesize check - ---- - tsk/fs/hfs.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/tsk/fs/hfs.c b/tsk/fs/hfs.c -index 3acc7ff..2f513cd 100644 ---- a/tsk/fs/hfs.c -+++ b/tsk/fs/hfs.c -@@ -3922,6 +3922,18 @@ hfs_load_extended_attrs(TSK_FS_FILE * fs_file, - return 1; - } - -+ // Is the Attributes file nodesize valid? -+ // byte size of each node(512..32768) -+ if (attrFile.nodeSize < 512 || attrFile.nodeSize > 32768) { -+ if (tsk_verbose) -+ tsk_fprintf(stderr, -+ "hfs_load_extended_attrs: Attributes file nodesize is invalid\n"); -+ close_attr_file(&attrFile); -+ *isCompressed = FALSE; -+ *cmpType = 0; -+ return 0; -+ } -+ - // A place to hold one node worth of data - nodeData = (uint8_t *) malloc(attrFile.nodeSize); - if (nodeData == NULL) { --- -2.27.0 - diff --git a/sleuthkit-4.12.1.tar.gz b/sleuthkit-4.13.0.tar.gz similarity index 33% rename from sleuthkit-4.12.1.tar.gz rename to sleuthkit-4.13.0.tar.gz index 38619588be4f3041a8b031cb72aed5fc002812d0..2701768c8d560168f6cea6c450949f9857903219 100644 Binary files a/sleuthkit-4.12.1.tar.gz and b/sleuthkit-4.13.0.tar.gz differ diff --git a/sleuthkit.spec b/sleuthkit.spec index 8bb1d09b90c5e90d1c9a9b28f39e0715327f1a10..f097465821665d689e5299f653b151c2e4dd5fc3 100644 --- a/sleuthkit.spec +++ b/sleuthkit.spec @@ -1,12 +1,11 @@ Name: sleuthkit -Version: 4.12.1 -Release: 2 +Version: 4.13.0 +Release: 1 Summary: Tools for file system and volume forensic analysis License: CPL-1.0 and IPL-1.0 and GPL-2.0-or-later URL: http://www.sleuthkit.org Source0: https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-%{version}/sleuthkit-%{version}.tar.gz -Patch0001: 0006-Add-attributes-file-nodesize-check.patch Patch0002: 0008-left-shift.patch BuildRequires: gcc-c++ afflib-devel >= 3.3.4 libewf-devel perl-generators sqlite-devel libtool autoconf @@ -84,6 +83,9 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %{_mandir}/man1/* %changelog +* Thu Jun 19 2025 openeuler_bot - 4.13.0-1 +- update sleuthkit to 4.13.0 + * Fri Jul 19 2024 yaoxin - 4.12.1-2 - License compliance rectification @@ -118,5 +120,4 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool - fix oss-fuzz memory leak * Fri Feb 21 2020 wangzhishun - 4.6.7-2 -- Package init - +- Package init \ No newline at end of file