Hello community, here is the log from the commit of package sleuthkit for openSUSE:Factory checked in at 2012-04-12 09:52:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sleuthkit (Old) and /work/SRC/openSUSE:Factory/.sleuthkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sleuthkit", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/sleuthkit/sleuthkit.changes 2012-03-16 13:25:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.sleuthkit.new/sleuthkit.changes 2012-04-12 09:52:02.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Apr 11 12:08:24 UTC 2012 - [email protected] + +- Add sleuthkit-gcc47.patch: Fix buffer overflow. + +------------------------------------------------------------------- New: ---- sleuthkit-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sleuthkit.spec ++++++ --- /var/tmp/diff_new_pack.XjpGN5/_old 2012-04-12 09:52:02.000000000 +0200 +++ /var/tmp/diff_new_pack.XjpGN5/_new 2012-04-12 09:52:02.000000000 +0200 @@ -27,6 +27,7 @@ Url: http://www.sleuthkit.org/ Group: System/Monitoring Source0: http://downloads.sourceforge.net/sleuthkit/%{name}-%{version}.tar.gz +Patch0: sleuthkit-gcc47.patch BuildRequires: gcc-c++ BuildRequires: libopenssl-devel BuildRequires: zlib-devel @@ -67,6 +68,7 @@ %prep %setup -q +%patch0 -p1 # re-run autotools %if 0 ++++++ sleuthkit-gcc47.patch ++++++ Index: sleuthkit-3.2.3/tsk3/fs/ext2fs.c =================================================================== --- sleuthkit-3.2.3.orig/tsk3/fs/ext2fs.c +++ sleuthkit-3.2.3/tsk3/fs/ext2fs.c @@ -1519,23 +1519,23 @@ ext2fs_make_acl_str(char *str, int len, int i = 0; if (perm & EXT2_PACL_PERM_READ) { - snprintf(&str[i], len - 1, "Read"); + snprintf(&str[i], len - i - 1, "Read"); i += 4; } if (perm & EXT2_PACL_PERM_WRITE) { if (i) { - snprintf(&str[i], len - 1, ", "); + snprintf(&str[i], len - i - 1, ", "); i += 2; } - snprintf(&str[i], len - 1, "Write"); + snprintf(&str[i], len - i - 1, "Write"); i += 5; } if (perm & EXT2_PACL_PERM_EXEC) { if (i) { - snprintf(&str[i], len - 1, ", "); + snprintf(&str[i], len - i - 1, ", "); i += 2; } - snprintf(&str[i], len - 1, "Execute"); + snprintf(&str[i], len - i - 1, "Execute"); i += 7; } } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
