summaryrefslogtreecommitdiff
path: root/isofs/rr.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-08-19 18:22:45 +0000
committerThomas Bushnell <thomas@gnu.org>1997-08-19 18:22:45 +0000
commit1632beb77a0e274d6de55e4a570eb450c6a860cc (patch)
tree506a0800e643c43d390a78c709467f65097ca9ac /isofs/rr.c
parent9eea98d0e292b3a904d94cff99bb55aceae6d8fb (diff)
Tue Aug 19 14:20:09 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* rr.c (rrip_work) [SL]: Component length field does not include the two header bytes, so add an extra two in advancing the pointer past the component.
Diffstat (limited to 'isofs/rr.c')
-rw-r--r--isofs/rr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/rr.c b/isofs/rr.c
index 666eb6ec..3f2ad300 100644
--- a/isofs/rr.c
+++ b/isofs/rr.c
@@ -407,7 +407,7 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr,
goto next_field;
/* Do the symlink translation */
- for (cp = slbuf; cp < slbuf + slbufsize; cp += comp->len)
+ for (cp = slbuf; cp < slbuf + slbufsize; cp += comp->len + 2)
{
comp = (struct rr_sl_comp *)cp;
nomoresl = 1;