Mailinglist Archive: opensuse-commit (1059 mails)

< Previous Next >
commit e2fsprogs
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 17 Jan 2008 22:47:06 +0100
  • Message-id: <20080117214707.4B3A3678168@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package e2fsprogs
checked in at Thu Jan 17 22:47:06 CET 2008.

--------
--- e2fsprogs/e2fsprogs.changes 2007-11-26 14:40:11.000000000 +0100
+++ /mounts/work_src_done/STABLE/e2fsprogs/e2fsprogs.changes 2008-01-16
18:13:13.000000000 +0100
@@ -1,0 +2,55 @@
+Wed Jan 16 11:03:14 CET 2008 - mkoenig@xxxxxxx
+
+- update to version 1.40.4:
+ * Fix potential security vulnerability (CVE-2007-5497)
+ * Fix big-endian byte-swapping bug in ext2fs_swap_inode_full()
+ * Fix a bug in ext2fs_initialize() which causes mke2fs to fail while
+ allocating inode tables for some relatively rare odd disk sizes.
+ * Fix bug in ext2fs_check_desc() which will cause e2fsck to complain
+ about (valid) filesystems where the inode table extends to the last
+ block of the block group
+ * Change e2fsck so it will not complain if a file has blocks reallocated
+ up to the next multiple of a system's page size
+ * Change e2fsck so it uses sscanf() instead of atoi() so it non-numeric
+ arguments are detected as such and the parse error is reported to the
+ user
+ * Make the e2fsprogs program more robust so that they will not crash
+ when opening a corrupt filesystem where s_inode_size is zero.
+ * Fix e2fsck so that if the superblock is corrupt, but still looks
+ vaguely like an ext2/3/4 superblock, that it automatically tries to
+ fall back to the backup superblock, instead of failing with a hard
+ error
+ * Fix fsck to ignore /etc/fstab entries for bind mounts
+ * E2fsck will no longer mark a filesystem as invalid if it has time
+ errors and the user refuses to fix the problem.
+ * Enhance blkid's detection of FAT filesystems
+ * Enhance e2fsck so it will force the backup superblocks to be backed up
+ if the filesystem is consistent and key constants have been changed
+ (i.e., by an on-line resize) or by e2fsck in the course of its
+ operations.
+ * Enhance the blkid library so it will recognize squashfs filesystems
+ * Fix e2image so that in raw mode it does not create an image file which
+ is one byte too large
+ * Fix heuristics in blkid which could cause a disk without partitions to
+ be incorrectly skipped when a loopback device is present
+ * Avoid division by zero error when probing an invalid FAT filesystem in
+ the blkid library
+ * Fix sign-extension problem on 64-bit systems in in the com_err
+ library
+ * Format control characters and characters with the high eighth bit set
+ when printing the contents of the blkid cache, to prevent filesystems
+ with garbage labels from sending escape sequences
+ * Fix fsck to only treat the '#' character as a comment at the beginning
+ of the line in /etc/fstab
+ * Filter out the NEEDS_RECOVERY feature flag when writing out the backup
+ superblocks
+ * Improve time-based UUID generation. A new daemon uuidd, is started
+ automatically by libuuid if necessary
+- new subpackage: uuid-runtime
+ containing uuidd and uuidgen
+- removed obsolete patches
+ e2fsprogs-1.39-uuid_duplicates.patch
+ e2fsprogs-1.40.2-open_fix.patch
+ e2fsprogs-1.40-be_swap_fix.patch
+
+-------------------------------------------------------------------

Old:
----
e2fsprogs-1.39-uuid_duplicates.patch
e2fsprogs-1.40.2-open_fix.patch
e2fsprogs-1.40.2.tar.bz2
e2fsprogs-1.40-be_swap_fix.patch

New:
----
e2fsprogs-1.40.4.tar.bz2
e2fsprogs-1.40.4-uuidd_pid_path.patch
e2fsprogs-1.40.4-uuid_null.patch
uuidd.rc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ e2fsprogs.spec ++++++
++++ 739 lines (skipped)
++++ between e2fsprogs/e2fsprogs.spec
++++ and /mounts/work_src_done/STABLE/e2fsprogs/e2fsprogs.spec


++++++ e2fsprogs-1.35-libdir.diff ++++++
--- /var/tmp/diff_new_pack.V30718/_old 2008-01-17 22:35:40.000000000 +0100
+++ /var/tmp/diff_new_pack.V30718/_new 2008-01-17 22:35:40.000000000 +0100
@@ -2,15 +2,15 @@
===================================================================
--- configure.in.orig
+++ configure.in
-@@ -569,6 +569,7 @@ if test $cross_compiling = no; then
+@@ -611,6 +611,7 @@ if test $cross_compiling = no; then
else
AC_CHECK_PROGS(BUILD_CC, gcc cc)
fi
+AC_HEADER_TIME
- AC_CHECK_HEADERS(stdlib.h unistd.h stdarg.h stdint.h errno.h malloc.h
mntent.h paths.h dirent.h getopt.h setjmp.h signal.h termios.h linux/fd.h
linux/major.h sys/disklabel.h sys/ioctl.h sys/mman.h sys/mkdev.h sys/prctl.h
sys/queue.h sys/sockio.h sys/socket.h sys/sysmacros.h sys/time.h sys/stat.h
sys/types.h sys/wait.h sys/resource.h net/if_dl.h netinet/in.h utime.h)
+ AC_CHECK_HEADERS(stdlib.h unistd.h stdarg.h stdint.h errno.h malloc.h
mntent.h paths.h dirent.h getopt.h setjmp.h signal.h termios.h linux/fd.h
linux/major.h sys/disklabel.h sys/ioctl.h sys/mman.h sys/mkdev.h sys/prctl.h
sys/queue.h sys/sockio.h sys/socket.h sys/sysmacros.h sys/time.h sys/stat.h
sys/types.h sys/wait.h sys/resource.h sys/syscall.h net/if_dl.h netinet/in.h
utime.h)
AC_CHECK_HEADERS(sys/disk.h sys/mount.h,,,
[[
-@@ -778,7 +779,7 @@ if test "$root_prefix" = NONE ; then
+@@ -820,7 +821,7 @@ if test "$root_prefix" = NONE ; then
else
root_bindir='${root_prefix}/bin'
root_sbindir='${root_prefix}/sbin'

++++++ e2fsprogs-1.40.2.tar.bz2 -> e2fsprogs-1.40.4.tar.bz2 ++++++
++++ 32942 lines of diff (skipped)

++++++ e2fsprogs-1.40.4-uuidd_pid_path.patch ++++++
Index: e2fsprogs-1.40.4/lib/uuid/uuidd.h
===================================================================
--- e2fsprogs-1.40.4.orig/lib/uuid/uuidd.h
+++ e2fsprogs-1.40.4/lib/uuid/uuidd.h
@@ -35,8 +35,8 @@
#ifndef _UUID_UUIDD_H
#define _UUID_UUIDD_H

-#define UUIDD_SOCKET_PATH "/var/lib/libuuid/request"
-#define UUIDD_PIDFILE_PATH "/var/lib/libuuid/uuidd.pid"
+#define UUIDD_SOCKET_PATH "/var/run/uuidd/request"
+#define UUIDD_PIDFILE_PATH "/var/run/uuidd/uuidd.pid"
#define UUIDD_PATH "/usr/sbin/uuidd"

#define UUIDD_OP_GETPID 0
++++++ e2fsprogs-1.40.4-uuid_null.patch ++++++
Index: e2fsprogs-1.40.4/lib/uuid/gen_uuid.c
===================================================================
--- e2fsprogs-1.40.4.orig/lib/uuid/gen_uuid.c
+++ e2fsprogs-1.40.4/lib/uuid/gen_uuid.c
@@ -409,7 +409,7 @@ static int get_uuid_via_daemon(int op, u
access_ret = access(uuidd_path, X_OK);
if (access_ret == 0 && start_attempts++ < 5) {
if ((pid = fork()) == 0) {
- execl(uuidd_path, "uuidd", "-qT", "300", 0);
+ execl(uuidd_path, "uuidd", "-qT", "300", NULL);
exit(1);
}
(void) waitpid(pid, 0, 0);
++++++ e2fsprogs-no_cmd_hiding.patch ++++++
++++ 1823 lines (skipped)
++++ between e2fsprogs/e2fsprogs-no_cmd_hiding.patch
++++ and /mounts/work_src_done/STABLE/e2fsprogs/e2fsprogs-no_cmd_hiding.patch

++++++ libcom_err-mutex.patch ++++++
--- /var/tmp/diff_new_pack.V30718/_old 2008-01-17 22:35:44.000000000 +0100
+++ /var/tmp/diff_new_pack.V30718/_new 2008-01-17 22:35:44.000000000 +0100
@@ -1,7 +1,7 @@
-Index: e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/com_err.pc.in
+Index: e2fsprogs-1.40.4/lib/et/com_err.pc.in
===================================================================
---- e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329.orig/lib/et/com_err.pc.in
-+++ e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/com_err.pc.in
+--- e2fsprogs-1.40.4.orig/lib/et/com_err.pc.in
++++ e2fsprogs-1.40.4/lib/et/com_err.pc.in
@@ -7,5 +7,5 @@ Name: com_err
Description: Common error description library
Version: @E2FSPROGS_VERSION@
@@ -10,10 +10,10 @@
-Libs: -L${libdir} -lcom_err
+Cflags: -I${includedir} -pthread
+Libs: -L${libdir} -lcom_err -pthread
-Index: e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/error_message.c
+Index: e2fsprogs-1.40.4/lib/et/error_message.c
===================================================================
---- e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329.orig/lib/et/error_message.c
-+++ e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/error_message.c
+--- e2fsprogs-1.40.4.orig/lib/et/error_message.c
++++ e2fsprogs-1.40.4/lib/et/error_message.c
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <string.h>
@@ -22,7 +22,7 @@
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
#else
-@@ -35,6 +36,17 @@
+@@ -41,6 +42,17 @@
struct et_list * _et_list = (struct et_list *) NULL;
struct et_list * _et_dynamic_list = (struct et_list *) NULL;

@@ -40,13 +40,13 @@

const char * error_message (errcode_t code)
{
-@@ -59,22 +71,32 @@ const char * error_message (errcode_t co
+@@ -66,22 +78,32 @@ const char * error_message (errcode_t co
goto oops;
#endif
}
+ et_list_lock();
for (et = _et_list; et; et = et->next) {
- if (et->table->base == table_num) {
+ if ((et->table->base & 0xffffffL) == (table_num & 0xffffffL)) {
/* This is the right table */
- if (et->table->n_msgs <= offset)
- goto oops;
@@ -61,7 +61,7 @@
}
}
for (et = _et_dynamic_list; et; et = et->next) {
- if (et->table->base == table_num) {
+ if ((et->table->base & 0xffffffL) == (table_num & 0xffffffL)) {
/* This is the right table */
- if (et->table->n_msgs <= offset)
- goto oops;
@@ -79,7 +79,7 @@
oops:
return "Unknown code";
}
-@@ -143,6 +165,9 @@ errcode_t add_error_table(const struct e
+@@ -150,6 +172,9 @@ errcode_t add_error_table(const struct e
if (!(el = (struct et_list *) malloc(sizeof(struct et_list))))
return ENOMEM;

@@ -89,7 +89,7 @@
el->table = et;
el->next = _et_dynamic_list;
_et_dynamic_list = el;
-@@ -153,6 +178,7 @@ errcode_t add_error_table(const struct e
+@@ -160,6 +185,7 @@ errcode_t add_error_table(const struct e
error_table_name(et->base),
(const void *) et);

@@ -97,7 +97,7 @@
return 0;
}

-@@ -161,9 +187,13 @@ errcode_t add_error_table(const struct e
+@@ -168,9 +194,13 @@ errcode_t add_error_table(const struct e
*/
errcode_t remove_error_table(const struct error_table * et)
{
@@ -112,7 +112,7 @@
init_debug();
while (el) {
if (el->table->base == et->base) {
-@@ -177,6 +207,7 @@ errcode_t remove_error_table(const struc
+@@ -184,6 +214,7 @@ errcode_t remove_error_table(const struc
"remove_error_table: %s (0x%p)\n",
error_table_name(et->base),
(const void *) et);
@@ -120,7 +120,7 @@
return 0;
}
el2 = el;
-@@ -186,6 +217,7 @@ errcode_t remove_error_table(const struc
+@@ -193,6 +224,7 @@ errcode_t remove_error_table(const struc
fprintf(debug_f, "remove_error_table FAILED: %s (0x%p)\n",
error_table_name(et->base),
(const void *) et);
@@ -128,10 +128,10 @@
return ENOENT;
}

-Index: e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/error_table.h
+Index: e2fsprogs-1.40.4/lib/et/error_table.h
===================================================================
---- e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329.orig/lib/et/error_table.h
-+++ e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/error_table.h
+--- e2fsprogs-1.40.4.orig/lib/et/error_table.h
++++ e2fsprogs-1.40.4/lib/et/error_table.h
@@ -19,6 +19,8 @@ struct et_list {
const struct error_table *table;
};
@@ -141,10 +141,10 @@

#define ERRCODE_RANGE 8 /* # of bits to shift table number */
#define BITS_PER_CHAR 6 /* # bits to shift per character in
name */
-Index: e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/et_c.awk
+Index: e2fsprogs-1.40.4/lib/et/et_c.awk
===================================================================
---- e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329.orig/lib/et/et_c.awk
-+++ e2fsprogs-1.39+1.40_WIP_20061114+PATCH20070329/lib/et/et_c.awk
+--- e2fsprogs-1.40.4.orig/lib/et/et_c.awk
++++ e2fsprogs-1.40.4/lib/et/et_c.awk
@@ -225,6 +225,8 @@ END {
print " const struct error_table * table;" > outfile
print "};" > outfile



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages