linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: linux-fsdevel@vger.kernel.org
Subject: RFC: broken directory separators in acorn-generated isofs images
Date: Sun, 23 May 2004 01:47:45 +0200	[thread overview]
Message-ID: <20040522234745.GA3898@infradead.org> (raw)

This is a really old patch from the Debian kernel package, and I wonder
whethere there's any way in which it could be harmfull.


 * Fix slashes in broken Acorn ISO9660 images in fs/isofs/dir.c (Darren Salt)

--- kernel-source-2.6.6/fs/isofs/dir.c	2004-03-11 13:55:43.000000000 +1100
+++ kernel-source-2.6.6-1/fs/isofs/dir.c	2002-12-30 12:30:58.000000000 +1100
@@ -64,7 +64,8 @@
 			break;
 
 		/* Convert remaining ';' to '.' */
-		if (c == ';')
+		/* Also '/' to '.' (broken Acorn-generated ISO9660 images) */
+		if (c == ';' || c == '/')
 			c = '.';
 
 		new[i] = c;

                 reply	other threads:[~2004-05-22 23:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040522234745.GA3898@infradead.org \
    --to=hch@lst.de \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).