Wireshark mailing list archives

Re: Crash in ws_mempbrk_sse42_compile()


From: Pascal Quantin <pascal.quantin () gmail com>
Date: Wed, 11 Feb 2015 19:26:10 +0100

2015-02-11 19:23 GMT+01:00 Martin Mathieson <
martin.r.mathieson () googlemail com>:

I am building on MSVC2010EE and getting a crash upon startup.  This is
after doing a clean and rebuild.

[image: Inline image 1]

'needles' is set to {0x1, 0x0}.  'length'.  'length' (set by call to
strlen()) appears to be 0x68034a68, which would surely crash the memcpy().

Sorry, don't have time to look into it any more for now.
Martin


Hi Martin,

this is being discussed here: https://code.wireshark.org/review/#/c/7070/
To avoid portability issues, we might end up doing the alignment ourselves
(as noe free is done).

Pascal.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: