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/rr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isofs/rr.c') 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