summaryrefslogtreecommitdiffstats
path: root/sys/isofs
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-07-16 10:20:56 +0000
committerjoerg <joerg@FreeBSD.org>1995-07-16 10:20:56 +0000
commitd869065d9cfc970d7360272988c6394cf6c84602 (patch)
tree3d1a0c47df77bd089710fa5ee25b410d13fd67f9 /sys/isofs
parent237dca12dea4f56dd7ca60b754f97eafbd8c8ced (diff)
downloadFreeBSD-src-d869065d9cfc970d7360272988c6394cf6c84602.zip
FreeBSD-src-d869065d9cfc970d7360272988c6394cf6c84602.tar.gz
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. :)
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_util.c b/sys/isofs/cd9660/cd9660_util.c
index 3d58e4e..ed83209 100644
--- a/sys/isofs/cd9660/cd9660_util.c
+++ b/sys/isofs/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++;
OpenPOWER on IntegriCloud