[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090204185758.GC7066@duck.suse.cz>
Date: Wed, 4 Feb 2009 19:57:58 +0100
From: Jan Kara <jack@...e.cz>
To: Andrew Basterfield <andrew@...logue.co.uk>
Cc: linux-kernel@...r.kernel.org,
Marcin Slusarz <marcin.slusarz@...il.com>
Subject: Re: Copying file with bad utf byte sequence in filename to rw UDF
filesystem panics
On Fri 30-01-09 00:48:55, Andrew Basterfield wrote:
> Binary package hint: linux-image-2.6.24-22-generic
>
> I have a file on ext3 that has a spurious 0x8A char in it's filename.
> When I try to copy it to a R/W UDF volume I get a kernel panic.
>
> $ ls Air\ -\ Le\ Soleil\ Est\ Pr�s\ De\ Moi.mp3 | hexdump -C
> 00000000 41 69 72 20 2d 20 4c 65 20 53 6f 6c 65 69 6c 20 |Air - Le Soleil |
> 00000010 45 73 74 20 50 72 8a 73 20 44 65 20 4d 6f 69 2e |Est Pr.s De Moi.|
> 00000020 6d 70 33 0a |mp3.|
> 00000024
>
> The filesystem has to be mounted with iocharset=utf8
>
> Is this related to http://lkml.org/lkml/2008/1/30/483
OK, attached patch should fix your problem.
Honza
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
View attachment "0001-udf-Fix-oops-when-invalid-character-in-filename-occ.patch" of type "text/x-patch" (2091 bytes)
Powered by blists - more mailing lists