lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 28 Feb 2013 15:11:28 -0500 (EST)
From:	Tomas Racek <tracek@...hat.com>
To:	Lukáš Czerner <lczerner@...hat.com>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: [PATCH] e2fsprogs: fix flag settings in e2image.h

----- Original Message -----
> On Thu, 21 Feb 2013, Tomas Racek wrote:
> 
> > Date: Thu, 21 Feb 2013 13:06:58 +0100
> > From: Tomas Racek <tracek@...hat.com>
> > To: linux-ext4@...r.kernel.org
> > Cc: Tomas Racek <tracek@...hat.com>
> > Subject: [PATCH] e2fsprogs: fix flag settings in e2image.h
> > 
> > This prevents from SIGSEGV when -s options is used.
> 
> oops! Thanks for catching that. I just wonder why the regression
> test is not catching that ?

Well, it seems that "-s" option is not tested (or even used). I'll try to fix at least the first thing. ;-)

Tom

> 
> 
> you can add
> 
> Reviewed-by: Lukas Czerner <lczerner@...hat.com>
> 
> > 
> > Signed-off-by: Tomas Racek <tracek@...hat.com>
> > ---
> >  lib/ext2fs/e2image.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/lib/ext2fs/e2image.h b/lib/ext2fs/e2image.h
> > index c918529..5537980 100644
> > --- a/lib/ext2fs/e2image.h
> > +++ b/lib/ext2fs/e2image.h
> > @@ -19,7 +19,7 @@
> >  /* Image flags */
> >  #define E2IMAGE_INSTALL_FLAG	1
> >  #define E2IMAGE_SCRAMBLE_FLAG	2
> > -#define E2IMAGE_IS_QCOW2_FLAG	3
> > +#define E2IMAGE_IS_QCOW2_FLAG	4
> >  
> >  struct ext2_image_hdr {
> >  	__u32	magic_number;	/* This must be EXT2_ET_MAGIC_E2IMAGE */
> > 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ