[PATCH 1/2] imagehlp: Catch invalid memory access in CheckSumMappedFile and add tests

Vijay Kiran Kamuju infyquest at gmail.com
Sat Mar 23 23:58:30 CDT 2019


Earlier before commit ba5a86e349bc4f5943413b2d89cd1f1165b93ad7, it
used to have RtlImageNtHeader.
I now updated to use the function, but checksum calculation is affected.
I am not sure how to fix the checksum calculation.
I am sending the test patch for review

On Mon, Mar 25, 2019 at 5:08 PM Alexandre Julliard <julliard at winehq.org> wrote:
>
> Vijay Kiran Kamuju <infyquest at gmail.com> writes:
>
> > I forgot to add that without the exception block the tests crash on
> > Linux, with our current implementation.
> > I tried removing the exception block and using goto, it still crashed.
> > Any suggestions?
>
> Like I said, RtlImageNtHeader().
>
> --
> Alexandre Julliard
> julliard at winehq.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: text/x-patch
Size: 16811 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190324/70a07928/attachment-0001.bin>


More information about the wine-devel mailing list