projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
off-by-one error when translating names for associated files (from mycroft)
[unix-history]
/
usr
/
src
/
sys
/
isofs
/
cd9660
/
cd9660_util.c
diff --git
a/usr/src/sys/isofs/cd9660/cd9660_util.c
b/usr/src/sys/isofs/cd9660/cd9660_util.c
index
c66bde0
..
f7752d0
100644
(file)
--- a/
usr/src/sys/isofs/cd9660/cd9660_util.c
+++ b/
usr/src/sys/isofs/cd9660/cd9660_util.c
@@
-9,7
+9,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)cd9660_util.c 8.
1
(Berkeley) %G%
+ * @(#)cd9660_util.c 8.
2
(Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
@@
-193,6
+193,7
@@
isofntrans(unsigned char *infn,int infnlen,
if (assoc) {
*outfn++ = ASSOCCHAR;
fnidx++;
if (assoc) {
*outfn++ = ASSOCCHAR;
fnidx++;
+ infnlen++;
}
for (; fnidx < infnlen; fnidx++) {
char c = *infn++;
}
for (; fnidx < infnlen; fnidx++) {
char c = *infn++;