[ros-dev] Unhandled Exception in kernel32 ReadFile file\rw.c line 233

Steven Edwards winehacker at gmail.com
Thu Dec 8 11:48:22 CET 2005


Hi,
I have a 100% reproducible problem at the end of the Office2000
install on the trunk + local patches. I am hitting a usermode
exception in ReadFile on line 233. The offending code is here

        if (NT_SUCCESS(Status))
          {
             /* lpNumberOfBytesRead must not be NULL here, in fact Win doesn't
                check that case either and crashes (only after the operation
                completed) */
             *lpNumberOfBytesRead = Iosb.Information;
          }

Art suggested using ProbeForWrite to handle the problem. Can someone
point me to a example of how to handle this except or even better
would someone be willing to look at implementing the check for me? =)

Thanks

--
Steven Edwards - ReactOS and Wine developer

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo



More information about the Ros-dev mailing list