aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-07-16 10:20:56 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-07-16 10:20:56 +0000
commita7957cb6ce33343999d6ab0df4e8aa21c76b0854 (patch)
tree3d1a0c47df77bd089710fa5ee25b410d13fd67f9 /sys/fs
parenta471a8c32eb6f9a1d5079bd7d4515c92812801b5 (diff)
downloadsrc-a7957cb6ce33343999d6ab0df4e8aa21c76b0854.tar.gz
src-a7957cb6ce33343999d6ab0df4e8aa21c76b0854.zip
There is a small bug in the cd9660 code that prevents stating of
associated files. Submitted by: leo@dachau.marco.de (Matthias Pfaller) Not-obtained from: NetBSD. Instead sent directly to me by Matthias. (Sorry, this is to prevent people from claiming i might have gotten this from NetBSD. :)
Notes
Notes: svn path=/head/; revision=9542
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/cd9660_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/cd9660/cd9660_util.c b/sys/fs/cd9660/cd9660_util.c
index 3d58e4e16d57..ed832098cebc 100644
--- a/sys/fs/cd9660/cd9660_util.c
+++ b/sys/fs/cd9660/cd9660_util.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_util.c 8.1 (Berkeley) 1/21/94
- * $Id: cd9660_util.c,v 1.3 1994/08/02 07:41:31 davidg Exp $
+ * $Id: cd9660_util.c,v 1.4 1995/05/30 08:05:02 rgrimes Exp $
*/
#include <sys/param.h>
@@ -220,6 +220,7 @@ isofntrans(unsigned char *infn,int infnlen,
if (assoc) {
*outfn++ = ASSOCCHAR;
fnidx++;
+ infnlen++;
}
for (; fnidx < infnlen; fnidx++) {
char c = *infn++;