https://bugs.winehq.org/show_bug.cgi?id=50257
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #11 from Paul Gofman pgofman@codeweavers.com --- (In reply to Gen Otsuji from comment #6)
Hi, all.
#include <stdio.h> #include <malloc.h> void * malloc(size_t size){ putchar('A'); return NULL; } int main(void){ char *p=malloc(20); return 0; }
This code gets segfault on FreeBSD 12.2R. this bug has similar issue I think.
FWIW this example segfaults on Linux when compiled and run natively with no Wine involved:
gcc ./test.c -o test ./test
Segmentation fault (core dumped)