all repos — mgba @ 93122df1f42a46c9475f871f67a66ada85eed0db

mGBA Game Boy Advance Emulator

Test: Fix crash when loading invalid file
Vicki Pfau vi@endrift.com
Tue, 18 Apr 2017 03:36:48 -0700
commit

93122df1f42a46c9475f871f67a66ada85eed0db

parent

6fb7c0780a4cd81aa2d125808dece19066aebc2a

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -45,6 +45,7 @@ - GBA BIOS: Fix ArcTan2 sign in HLE BIOS (fixes mgba.io/i/689)

- GBA Video: Don't update background scanline params in mode 0 (fixes mgba.io/i/377) - Qt: Ensure CLI backend is attached when submitting commands (fixes mgba.io/i/662) - Core: Fix crash with rewind if savestates shrink + - Test: Fix crash when loading invalid file Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M src/platform/test/fuzz-main.csrc/platform/test/fuzz-main.c

@@ -68,6 +68,9 @@ version(argv[0]);

return 0; } struct mCore* core = mCoreFind(args.fname); + if (!core) { + return 1; + } core->init(core); mCoreInitConfig(core, "fuzz"); applyArguments(&args, NULL, &core->config);