Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157786411
D56215.id174750.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
566 B
Referenced Files
None
Subscribers
None
D56215.id174750.diff
View Options
diff --git a/sys/fs/cd9660/cd9660_rrip.c b/sys/fs/cd9660/cd9660_rrip.c
--- a/sys/fs/cd9660/cd9660_rrip.c
+++ b/sys/fs/cd9660/cd9660_rrip.c
@@ -175,6 +175,8 @@
/* Inserting component */
wlen = isonum_711(pcomp->clen);
inbuf = pcomp->name;
+ if (inbuf + wlen > (char *)pcompe)
+ wlen = ana->maxlen + 1;
break;
default:
printf("RRIP with incorrect flags?");
@@ -246,6 +248,8 @@
/* Inserting component */
wlen = isonum_711(p->h.length) - 5;
inbuf = (char *)p + 5;
+ if (wlen < 0)
+ wlen = ana->maxlen + 1;
break;
default:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 26, 4:29 AM (2 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30724149
Default Alt Text
D56215.id174750.diff (566 B)
Attached To
Mode
D56215: cd9660: Add length checks to Rock Ridge parser
Attached
Detach File
Event Timeline
Log In to Comment