diff --git a/e2fsck-fix-free-pointer-dereferences.patch b/e2fsck-fix-free-pointer-dereferences.patch deleted file mode 100644 index cf25293..0000000 --- a/e2fsck-fix-free-pointer-dereferences.patch +++ /dev/null @@ -1,51 +0,0 @@ -From ebdf895b43a1ce499e4d2556a201e2a753fc422f Mon Sep 17 00:00:00 2001 -From: Theodore Ts'o -Date: Wed, 8 Oct 2014 11:18:41 -0400 -Subject: [PATCH] e2fsck: fix free pointer dereferences -References: bnc#912229 - -Commit 47fee2ef6a23a introduces some free pointer dereference bugs by -not clearing ctx->fs after calling ext2fs_close_free(). - -Reported-by: Matthias Andree -Cc: Lukas Czerner -Signed-off-by: Theodore Ts'o -Acked-by: Jan Kara ---- - e2fsck/unix.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/e2fsck/unix.c b/e2fsck/unix.c -index 66debcde53ed..10036e76132c 100644 ---- a/e2fsck/unix.c -+++ b/e2fsck/unix.c -@@ -458,7 +458,7 @@ static void check_if_skip(e2fsck_t ctx) - } - log_out(ctx, "\n"); - skip: -- ext2fs_close_free(&fs); -+ ext2fs_close_free(&ctx->fs); - e2fsck_free_context(ctx); - exit(FSCK_OK); - } -@@ -1462,7 +1462,7 @@ failure: - /* - * Restart in order to reopen fs but this time start mmp. - */ -- ext2fs_close_free(&fs); -+ ext2fs_close_free(&ctx->fs); - flags &= ~EXT2_FLAG_SKIP_MMP; - goto restart; - } -@@ -1692,7 +1692,7 @@ no_journal: - _("while resetting context")); - fatal_error(ctx, 0); - } -- ext2fs_close_free(&fs); -+ ext2fs_close_free(&ctx->fs); - goto restart; - } - if (run_result & E2F_FLAG_ABORT) --- -2.1.2 - diff --git a/e2fsprogs-1.42.12.tar.gz b/e2fsprogs-1.42.12.tar.gz deleted file mode 100644 index 03a41f3..0000000 --- a/e2fsprogs-1.42.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e17846d91a0edd89fa59b064bde8f8e5cec5851e35f587bcccb4014dbd63186c -size 6381695 diff --git a/e2fsprogs-1.42.13.tar.gz b/e2fsprogs-1.42.13.tar.gz new file mode 100644 index 0000000..28e82e4 --- /dev/null +++ b/e2fsprogs-1.42.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59993ff3a44f82e504561e0ebf95e8c8fa9f9f5746eb6a7182239605d2a4e2d4 +size 6511931 diff --git a/e2fsprogs.changes b/e2fsprogs.changes index 98bc2cc..fdee7c8 100644 --- a/e2fsprogs.changes +++ b/e2fsprogs.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue May 26 12:15:35 UTC 2015 - jack@suse.cz + +- Update to 1.42.13 + * fix potential buffer overflow while closing a filesystem + * fix deadlock which occurs when using systemd and e2fsck.conf's logging + feature + * make tune2fs clear journal superblock backup when removing journal + * fix use after free bugs in resize2fs and e2fsck + * fix endianity bugs in libext2fs + ... +- Remove e2fsck-fix-free-pointer-dereferences.patch: Merged upstream + ------------------------------------------------------------------- Fri Jan 9 08:48:40 UTC 2015 - jack@suse.cz diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 1f39016..b676c8e 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -1,7 +1,7 @@ # # spec file for package e2fsprogs # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -61,7 +61,7 @@ Conflicts: libcom_err2-mini Conflicts: libcom_err-mini-devel %endif # -Version: 1.42.12 +Version: 1.42.13 Release: 0 Summary: Utilities for the Second Extended File System License: GPL-2.0 @@ -80,7 +80,6 @@ Patch1: e2fsprogs-1.41.1-splash_support.patch Patch3: libcom_err-compile_et_permissions.patch Patch4: e2fsprogs-1.42-implicit_fortify_decl.patch Patch5: e2fsprogs-1.42-ext2fsh_implicit.patch -Patch6: e2fsck-fix-free-pointer-dereferences.patch # Do not suppress make commands BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -194,7 +193,6 @@ Development files for the com_err error message display library. %patch3 -p1 %patch4 %patch5 -%patch6 -p1 cp %{SOURCE2} . %build diff --git a/libcom_err-compile_et_permissions.patch b/libcom_err-compile_et_permissions.patch index 528f303..218e617 100644 --- a/libcom_err-compile_et_permissions.patch +++ b/libcom_err-compile_et_permissions.patch @@ -1,13 +1,13 @@ -Index: e2fsprogs-1.41.7/lib/et/compile_et.sh.in +Index: e2fsprogs-1.42.13/lib/et/compile_et.sh.in =================================================================== ---- e2fsprogs-1.41.7.orig/lib/et/compile_et.sh.in -+++ e2fsprogs-1.41.7/lib/et/compile_et.sh.in +--- e2fsprogs-1.42.13.orig/lib/et/compile_et.sh.in ++++ e2fsprogs-1.42.13/lib/et/compile_et.sh.in @@ -51,7 +51,7 @@ if test -f ${BASE}.h && cmp -s ${BASE}.h rm -f ${BASE}.h.$$ else mv -f ${BASE}.h.$$ ${BASE}.h -- chmod -w ${BASE}.h -+# chmod -w ${BASE}.h +- chmod a-w ${BASE}.h ++# chmod a-w ${BASE}.h fi $AWK -f "${DIR}/et_c.awk" "outfile=${BASE}.c.$$" "outfn=${BASE}.c" "$ROOT.et" if test -f ${BASE}.c && cmp -s ${BASE}.c.$$ ${BASE}.c ; then