From 31280914a0099067f71d4868afd90acc8ef52e04 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 16 May 2008 20:29:40 +0000 Subject: [PATCH] Rev openSUSE:Factory/25 Md5 900840573ba960fb4e80a84231431b52 2008-05-16 20:29:40 unknown None --- e2fsprogs-1.40.8-missing_init.patch | 13 +++++++++++++ e2fsprogs.changes | 5 +++++ e2fsprogs.spec | 6 +++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 e2fsprogs-1.40.8-missing_init.patch diff --git a/e2fsprogs-1.40.8-missing_init.patch b/e2fsprogs-1.40.8-missing_init.patch new file mode 100644 index 0000000..81088c2 --- /dev/null +++ b/e2fsprogs-1.40.8-missing_init.patch @@ -0,0 +1,13 @@ +Index: e2fsprogs-1.40.8/lib/uuid/gen_uuid.c +=================================================================== +--- e2fsprogs-1.40.8.orig/lib/uuid/gen_uuid.c ++++ e2fsprogs-1.40.8/lib/uuid/gen_uuid.c +@@ -316,7 +316,7 @@ static int get_clock(uint32_t *clock_hig + if ((last.tv_sec == 0) && (last.tv_usec == 0)) { + get_random_bytes(&clock_seq, sizeof(clock_seq)); + clock_seq &= 0x3FFF; +- last = tv; ++ gettimeofday(&last, 0); + last.tv_sec--; + } + diff --git a/e2fsprogs.changes b/e2fsprogs.changes index c168fac..0890902 100644 --- a/e2fsprogs.changes +++ b/e2fsprogs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 11:59:37 CEST 2008 - mkoenig@suse.de + +- libuuid: do not use unintialized variable [bnc#386649] + ------------------------------------------------------------------- Wed May 7 08:44:37 CEST 2008 - coolo@suse.de diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 2ea3b81..e234797 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -20,7 +20,7 @@ Supplements: filesystem(ext2) filesystem(ext3) PreReq: %install_info_prereq AutoReqProv: on Version: 1.40.8 -Release: 11 +Release: 14 Summary: Utilities for the Second Extended File System Url: http://e2fsprogs.sourceforge.net Source: %{name}-%{version}.tar.bz2 @@ -37,6 +37,7 @@ Patch3: e2fsprogs-libvolume_id-support.patch Patch5: e2fsprogs-1.40.4-uuidd_pid_path.patch Patch6: e2fsprogs-1.40.7-uuidd_security.patch Patch7: e2fsprogs-1.40.8-fix_ext2fs_swap_inode_full.patch +Patch8: e2fsprogs-1.40.8-missing_init.patch # libcom_err patches # 66534 - [SL 10.0] et_list handling of krb5 and libcom_err.so.2 conflict Patch31: libcom_err-no-init_error_table.patch @@ -241,6 +242,7 @@ Authors: %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 # libcom_err patches %patch31 -p1 %patch32 -p1 @@ -447,6 +449,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/com_err.3.gz %changelog +* Tue May 13 2008 mkoenig@suse.de +- libuuid: do not use unintialized variable [bnc#386649] * Wed May 07 2008 coolo@suse.de - fix provides/obsoletes for rename * Thu Apr 10 2008 ro@suse.de