[RESENT] Check for a valid buffer in NTReadFile

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sun Jul 10 10:51:48 CDT 2005


>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.org> writes:

    Alexandre> Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
    >> Changelog: wine/dlls/ntdll/file.c: NtReadFile() Reject a NULL buffer

    Alexandre> That should be handled by the EFAULT case already. Why does
    Alexandre> it make a difference for you?

The EFAULT handler doesn't trigger for the test in
wine/dll/kernel/test/file.c:1389

Without the extra check, the test fails.

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list