Bug#819284: jessie-pu: package ext4magic/0.3.2-2

2016-05-02 Thread Adam D. Barratt
Control: tags -1 + pending

On Sat, 2016-04-30 at 14:47 -0300, Giovani Ferreira wrote:
> On Fri, 22 Apr 2016 21:10:55 +0100 Jonathan Wiltshire  wrote:
> > Control: tag -1 confirmed
> > 
> > On Fri, Mar 25, 2016 at 10:40:37PM -0300, Giovani Augusto Ferreira wrote:
> > > The ext4magic has a misinterpretation of the physical block addresses and
> > > block lengths of ext4 inode.
> > > The error is permanent and 100% reproducible (also on i386)
> > > The upstream provides a patch to fix this problem and this problem has
> > > been fixed en unstable/testing.
> > 
> > Please go ahead.
> 
> Uploaded. Thanks!

Flagged for acceptance.

Regards,

Adam



Bug#819284: jessie-pu: package ext4magic/0.3.2-2

2016-04-30 Thread Giovani Ferreira
On Fri, 22 Apr 2016 21:10:55 +0100 Jonathan Wiltshire  wrote:
> Control: tag -1 confirmed
> 
> On Fri, Mar 25, 2016 at 10:40:37PM -0300, Giovani Augusto Ferreira wrote:
> > The ext4magic has a misinterpretation of the physical block addresses and
> > block lengths of ext4 inode.
> > The error is permanent and 100% reproducible (also on i386)
> > The upstream provides a patch to fix this problem and this problem has
> > been fixed en unstable/testing.
> 
> Please go ahead.

Uploaded. Thanks!

-- 
Giovani



Bug#819284: jessie-pu: package ext4magic/0.3.2-2

2016-04-22 Thread Jonathan Wiltshire
Control: tag -1 confirmed

On Fri, Mar 25, 2016 at 10:40:37PM -0300, Giovani Augusto Ferreira wrote:
> The ext4magic has a misinterpretation of the physical block addresses and
> block lengths of ext4 inode.
> The error is permanent and 100% reproducible (also on i386)
> The upstream provides a patch to fix this problem and this problem has
> been fixed en unstable/testing.

Please go ahead.

Thanks,

-- 
Jonathan Wiltshire  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51



signature.asc
Description: Digital signature


Bug#819284: jessie-pu: package ext4magic/0.3.2-2

2016-03-25 Thread Giovani Augusto Ferreira
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@packages.debian.org
Usertags: pu

Hi!

The ext4magic has a misinterpretation of the physical block addresses and
block lengths of ext4 inode.
The error is permanent and 100% reproducible (also on i386)
The upstream provides a patch to fix this problem and this problem has
been fixed en unstable/testing.

The changelog is:

ext4magic (0.3.2-2+deb8u1) jessie; urgency=medium

  * debian/patches/fix-recover-examine.patch: added as a temporary work
  around to fix an issue which makes impossible to recover or examine
  Ext4 filesystems. Thanks to Roberto Maar , the
  ext4magic upstream. (Closes: #802089)

 -- Giovani Augusto Ferreira   Fri, 25 Mar 2016 21:19:47 
-0300



Thanks a lot in advance.


Regards,

Giovani


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru ext4magic-0.3.2/debian/changelog ext4magic-0.3.2/debian/changelog
--- ext4magic-0.3.2/debian/changelog	2014-10-26 19:52:45.0 -0200
+++ ext4magic-0.3.2/debian/changelog	2016-03-25 21:42:36.0 -0300
@@ -1,3 +1,12 @@
+ext4magic (0.3.2-2+deb8u1) jessie; urgency=medium
+
+  * debian/patches/fix-recover-examine.patch: added as a temporary work
+  around to fix an issue which makes impossible to recover or examine
+  Ext4 filesystems. Thanks to Roberto Maar , the
+  ext4magic upstream. (Closes: #802089)
+
+ -- Giovani Augusto Ferreira   Fri, 25 Mar 2016 21:19:47 -0300
+
 ext4magic (0.3.2-2) unstable; urgency=medium
 
   * Bumped Standards-Version to 3.9.6.
diff -Nru ext4magic-0.3.2/debian/patches/fix-recover-examine ext4magic-0.3.2/debian/patches/fix-recover-examine
--- ext4magic-0.3.2/debian/patches/fix-recover-examine	1969-12-31 21:00:00.0 -0300
+++ ext4magic-0.3.2/debian/patches/fix-recover-examine	2016-03-25 21:39:17.0 -0300
@@ -0,0 +1,56 @@
+Description: temporary work around to fix an issue which makes impossible to
+ recover or examine Ext4 filesystems. (see #802089)
+Author: Roberto Maar 
+Last-Update: 2015-10-18
+Index: ext4magic-0.3.2/src/block.c
+===
+--- ext4magic-0.3.2.orig/src/block.c
 ext4magic-0.3.2/src/block.c
+@@ -130,7 +130,8 @@ int read_block64 ( ext2_filsys fs, blk64
+ 
+ 
+ 
+-
++//FIXME : Debian Bug #802089 (temporary work around)
++/*
+ errcode_t local_ext2fs_extent_open(ext2_filsys fs, struct ext2_inode inode,
+   ext2_extent_handle_t *ret_handle) {
+ 
+@@ -189,7 +190,7 @@ errcode_t local_ext2fs_extent_open(ext2_
+ 
+ return 0;
+ }
+-
++*/
+ 
+ static int mark_extent_block(ext2_filsys fs, char *extent_block ){
+ 	struct ext3_extent_header 	*eh;
+@@ -613,7 +614,10 @@ errcode_t local_block_iterate3(ext2_fils
+ 		int			uninit;
+ 		unsigned int		j;
+ 
+-		ctx.errcode = local_ext2fs_extent_open(fs, inode, );
++//FIXME : Debian Bug #802089 (temporary work around)
++//		ctx.errcode = local_ext2fs_extent_open(fs, inode, );
++		ctx.errcode = ext2fs_extent_open2(fs,0,,);
++//
+ 		if (ctx.errcode)
+ 			goto abort_exit;
+ 
+Index: ext4magic-0.3.2/src/inode.c
+===
+--- ext4magic-0.3.2.orig/src/inode.c
 ext4magic-0.3.2/src/inode.c
+@@ -112,8 +112,10 @@ static void local_dump_extents(FILE *f,
+ unsigned intprinted = 0;
+ errcode_t   errcode;
+ 
+-	
+-errcode = local_ext2fs_extent_open(current_fs, *inode, );
++//FIXME : Debian Bug #802089 (temporary work around)
++//  errcode = local_ext2fs_extent_open(current_fs, *inode, );
++errcode = ext2fs_extent_open2(current_fs,0,inode,);
++//
+ if (errcode)
+ return;
+ 
diff -Nru ext4magic-0.3.2/debian/patches/series ext4magic-0.3.2/debian/patches/series
--- ext4magic-0.3.2/debian/patches/series	1969-12-31 21:00:00.0 -0300
+++ ext4magic-0.3.2/debian/patches/series	2016-03-25 21:21:24.0 -0300
@@ -0,0 +1 @@
+fix-recover-examine