From 1632beb77a0e274d6de55e4a570eb450c6a860cc Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 19 Aug 1997 18:22:45 +0000 Subject: Tue Aug 19 14:20:09 1997 Thomas Bushnell, n/BSG * 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. --- isofs/ChangeLog | 6 ++++++ isofs/rr.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/isofs/ChangeLog b/isofs/ChangeLog index d498a489..b4235a2d 100644 --- a/isofs/ChangeLog +++ b/isofs/ChangeLog @@ -1,3 +1,9 @@ +Tue Aug 19 14:20:09 1997 Thomas Bushnell, n/BSG + + * 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. + Thu Aug 7 16:01:29 1997 Thomas Bushnell, n/BSG * inode.c (read_disknode): Units of st_blocks are 512 byte chunks, 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; -- cgit v1.2.3