Unverified Commit 931ac8ed authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 4769fc98 a94a9249
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1327,6 +1327,8 @@ static int isofs_read_inode(struct inode *inode, int relocated)

	de = (struct iso_directory_record *) (bh->b_data + offset);
	de_len = *(unsigned char *) de;
	if (de_len < sizeof(struct iso_directory_record))
		goto fail;

	if (offset + de_len > bufsize) {
		int frag1 = bufsize - offset;