Project

General

Profile

Actions

Emulator Issues #5507

closed

mmap failure goes undetected, leading to segfault

Added by plbl4ster almost 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Source/Core/Common/Src/MemArena.cpp MemArena::CreateView, Memory_TryBase

If for some reason mmap fails (one of the reasons is that not all filesystems support it) and returns -1, dolphin doesn't handle it. Later dolphin tries to dereference it and segfaults, leaving no hint to the user as to why this happened.

Actions

Also available in: Atom PDF