rpms/e2fsprogs/devel e2fsprogs-1.41.4-debugfs-stat-segfault.patch, NONE, 1.1 e2fsprogs-1.41.4-libext2fs-info.patch, NONE, 1.1 e2fsprogs.spec, 1.127, 1.128
Eric Sandeen
sandeen at fedoraproject.org
Thu Jan 29 22:44:18 UTC 2009
Author: sandeen
Update of /cvs/pkgs/rpms/e2fsprogs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25604
Modified Files:
e2fsprogs.spec
Added Files:
e2fsprogs-1.41.4-debugfs-stat-segfault.patch
e2fsprogs-1.41.4-libext2fs-info.patch
Log Message:
* Thu Jan 29 2009 Eric Sandeen <sandeen at redhat.com> 1.41.4-2
- Fix debugfs "stat" segfault if no open fs (#482894)
- Fix name of libext2fs info page (#481620)
e2fsprogs-1.41.4-debugfs-stat-segfault.patch:
--- NEW FILE e2fsprogs-1.41.4-debugfs-stat-segfault.patch ---
Index: e2fsprogs/debugfs/debugfs.c
===================================================================
--- e2fsprogs.orig/debugfs/debugfs.c 2008-09-12 10:37:52.000000000 -0500
+++ e2fsprogs/debugfs/debugfs.c 2009-01-29 16:36:04.748574864 -0600
@@ -291,9 +291,6 @@ void do_show_super_stats(int argc, char
int c, header_only = 0;
int numdirs = 0, first, gdt_csum;
- gdt_csum = EXT2_HAS_RO_COMPAT_FEATURE(current_fs->super,
- EXT4_FEATURE_RO_COMPAT_GDT_CSUM);
-
reset_getopt();
while ((c = getopt (argc, argv, "h")) != EOF) {
switch (c) {
@@ -321,6 +318,8 @@ void do_show_super_stats(int argc, char
return;
}
+ gdt_csum = EXT2_HAS_RO_COMPAT_FEATURE(current_fs->super,
+ EXT4_FEATURE_RO_COMPAT_GDT_CSUM);
gdp = ¤t_fs->group_desc[0];
for (i = 0; i < current_fs->group_desc_count; i++, gdp++) {
fprintf(out, " Group %2d: block bitmap at %u, "
e2fsprogs-1.41.4-libext2fs-info.patch:
--- NEW FILE e2fsprogs-1.41.4-libext2fs-info.patch ---
Index: e2fsprogs/doc/libext2fs.texinfo
===================================================================
--- e2fsprogs.orig/doc/libext2fs.texinfo 2009-01-28 20:56:26.000000000 -0600
+++ e2fsprogs/doc/libext2fs.texinfo 2009-01-29 16:36:53.148590911 -0600
@@ -8,7 +8,7 @@
@ifinfo
@dircategory Development
@direntry
-* libext2fs: (libext2fs.info). The EXT2FS library.
+* libext2fs: (libext2fs). The EXT2FS library.
@end direntry
@end ifinfo
Index: e2fsprogs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/e2fsprogs/devel/e2fsprogs.spec,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- e2fsprogs.spec 29 Jan 2009 22:20:37 -0000 1.127
+++ e2fsprogs.spec 29 Jan 2009 22:43:47 -0000 1.128
@@ -4,7 +4,7 @@
Summary: Utilities for managing the second and third extended (ext2/ext3) filesystems
Name: e2fsprogs
Version: 1.41.4
-Release: 1%{?dist}
+Release: 2%{?dist}
# License based on upstream-modified COPYING file,
# which clearly states "V2" intent.
License: GPLv2
@@ -15,6 +15,8 @@
Source3: uuidd.init
Patch1: e2fsprogs-1.38-etcblkid.patch
Patch2: e2fsprogs-1.40.4-sb_feature_check_ignore.patch
+Patch3: e2fsprogs-1.41.4-debugfs-stat-segfault.patch
+Patch4: e2fsprogs-1.41.4-libext2fs-info.patch
Url: http://e2fsprogs.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -91,6 +93,10 @@
# mildly unsafe but 'til I get something better, avoid full fsck
# after an selinux install...
%patch2 -p1 -b .featurecheck
+# Fix segfault in debugfs "stat" if fs not open
+%patch3 -p1 -b .statfs
+# Fix up name of info file
+%patch4 -p1 -b .info
%build
%configure --enable-elf-shlibs --enable-nls --disable-e2initrd-helper --enable-blkid-devmapper --enable-blkid-selinux
@@ -289,6 +295,10 @@
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
%changelog
+* Thu Jan 29 2009 Eric Sandeen <sandeen at redhat.com> 1.41.4-2
+- Fix debugfs "stat" segfault if no open fs (#482894)
+- Fix name of libext2fs info page (#481620)
+
* Thu Jan 29 2009 Eric Sandeen <sandeen at redhat.com> 1.41.4-1
- New upstream release
- Dropped btrfs & resize fixes, upstream now
More information about the fedora-extras-commits
mailing list