ntdll-DVD_Read_Size: Avoid dereferencing NULL pointer / accessing structure when size is invalid.

This commit is contained in:
Sebastian Lackner
2015-02-10 21:53:58 +01:00
parent 16f0d70b79
commit 65c1bc4fd2
2 changed files with 14 additions and 11 deletions

View File

@@ -1975,7 +1975,7 @@ fi
if test "$enable_ntdll_DVD_Read_Size" -eq 1; then
patch_apply ntdll-DVD_Read_Size/0001-ntdll-Fix-expected-IOCTL_DVD_READ_STRUCTURE-expected.patch
(
echo '+ { "Erich E. Hoover", "ntdll: Fix expected IOCTL_DVD_READ_STRUCTURE expected output size.", 1 },';
echo '+ { "Erich E. Hoover", "ntdll: Fix expected IOCTL_DVD_READ_STRUCTURE expected output size.", 2 },';
) >> "$patchlist"
fi