https://bugs.winehq.org/show_bug.cgi?id=49155
Bug ID: 49155 Summary: null pointer reference in kernelbase/memory.c Product: Wine Version: 5.8 Hardware: x86-64 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs@winehq.org Reporter: konbu_sc@yahoo.co.jp
Created attachment 67163 --> https://bugs.winehq.org/attachment.cgi?id=67163 null pointer reference
kernelbase/memory.c has a null pointer reference.
https://bugs.winehq.org/show_bug.cgi?id=49155
konbu_sc@yahoo.co.jp changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67163|text/x-csrc |text/plain mime type| | Attachment #67163|patch-dlls_kernelbase_memor |patch.txt filename|y.c | Attachment #67163|0 |1 is patch| |
https://bugs.winehq.org/show_bug.cgi?id=49155
--- Comment #1 from konbu_sc@yahoo.co.jp --- after this patch pathed, some application that has been crashed goes well in my environment.
https://bugs.winehq.org/show_bug.cgi?id=49155
konbu_sc@yahoo.co.jp changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |konbu_sc@yahoo.co.jp
https://bugs.winehq.org/show_bug.cgi?id=49155
Gen Otsuji otsugen0000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67163|null pointer reference |[patch]avoid null pointer description| |reference
https://bugs.winehq.org/show_bug.cgi?id=49155
Gen Otsuji otsugen0000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |Other OS|FreeBSD |other
https://bugs.winehq.org/show_bug.cgi?id=49155
--- Comment #2 from Gen Otsuji otsugen0000@gmail.com --- (comment #1)
patch pathed
s/pathed/patched/
Hello.
the reproducer of this bug is a proprietary software(exe): metatrader5 5.00 build 2361. I haven't written the test application(exe) for reproducing the bug.
There are two cases.
Case 1) I clicked the menu(Tools) of metatrader5 running and clicked always the same sub-menu(Options (Ctrl+O)), and then it has crashed, and generates the Crash info in C:\Users%USERNAME%\Application Data\MetaQuotes\Crashes\
Case 2) I encountered more severe case. In case the metatrader5 will be launched and goes to crash after this application is installed. I didn't remember if it generates or not the Crash info in C:\Users%USERNAME%\Application Data\MetaQuotes\Crashes\
Regards.
https://bugs.winehq.org/show_bug.cgi?id=49155
--- Comment #3 from Gen Otsuji otsugen0000@gmail.com --- But now both two cases have gone someware in my environment. my Environment: wine 5.8 (with staging)(+patch) FreeBSD 12.1 RELEASE-p5 amd64
https://bugs.winehq.org/show_bug.cgi?id=49155
Gen Otsuji otsugen0000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #4 from Gen Otsuji otsugen0000@gmail.com --- This patch is harmful. I want to cancel this. the error should be caught in __EXCEPT_PAGE_FALUT block.
https://bugs.winehq.org/show_bug.cgi?id=49155
Gen Otsuji otsugen0000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86-64 OS|other |FreeBSD
https://bugs.winehq.org/show_bug.cgi?id=49155
Gen Otsuji otsugen0000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Gen Otsuji otsugen0000@gmail.com --- This patch is invalid and I want to close. null pointer dereference shoud be caught by __EXCEPT_PAGE_FAULT block. But FreeBSD doesn't catch this exception trapno is diffrent between FreeBSD and Linux or others.
https://bugs.winehq.org/show_bug.cgi?id=49155
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32