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] [day] [month] [year] [list]
Date:	Fri, 10 Jul 2009 12:24:43 +0200
From:	Jan Kara <jack@...e.cz>
To:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] isofs: fix Joliet regression

On Wed 08-07-09 19:29:52, Bartlomiej Zolnierkiewicz wrote:
> From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
> Subject: [PATCH] isofs: fix Joliet regression
> 
> commit 5404ac8e4418ab3d254950ee4f9bcafc1da20b4a ("isofs: cleanup mount
> option processing") missed conversion of joliet option flag resulting
> in non-working Joliet support.
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
> ---
> I really want to believe that this is just the unlucky coincidence with
> the ongoing vfat madness...
  Thanks for the fix. I've just tracked this down as well and wanted to write
a fix :) I'll send the patch to Linus for inclusion.

									Honza

>  fs/isofs/inode.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: b/fs/isofs/inode.c
> ===================================================================
> --- a/fs/isofs/inode.c
> +++ b/fs/isofs/inode.c
> @@ -142,6 +142,7 @@ static const struct dentry_operations is
>  
>  struct iso9660_options{
>  	unsigned int rock:1;
> +	unsigned int joliet:1;
>  	unsigned int cruft:1;
>  	unsigned int hide:1;
>  	unsigned int showassoc:1;
> @@ -151,7 +152,6 @@ struct iso9660_options{
>  	unsigned int gid_set:1;
>  	unsigned int utf8:1;
>  	unsigned char map;
> -	char joliet;
>  	unsigned char check;
>  	unsigned int blocksize;
>  	mode_t fmode;
> @@ -632,7 +632,7 @@ static int isofs_fill_super(struct super
>  			else if (isonum_711(vdp->type) == ISO_VD_SUPPLEMENTARY) {
>  				sec = (struct iso_supplementary_descriptor *)vdp;
>  				if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) {
> -					if (opt.joliet == 'y') {
> +					if (opt.joliet) {
>  						if (sec->escape[2] == 0x40)
>  							joliet_level = 1;
>  						else if (sec->escape[2] == 0x43)
-- 
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ