From 740f0122542b6320250f1a8a4ca527bd8de9855e Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Thu, 2 Sep 2021 15:14:32 -0700 Subject: [PATCH] Eliminate URaid access to uninitialized pointer when saving post-crash VM image Old code attempted to save the display region through an uninitialized pointer which occurs nowhere else in the system. Removed the save. --- src/uraid.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/uraid.c b/src/uraid.c index 3eb8872..821baa7 100644 --- a/src/uraid.c +++ b/src/uraid.c @@ -777,10 +777,6 @@ LispPTR uraid_commands() { printf("VMEMSAVE: v filename (it's NOT bootable)\n"); return (T); } -#ifndef DISPLAYBUFFER - copy_region(HideDisp68k, DisplayRegion68k, DisplayRasterWidth, displayheight); -#endif /* DISPLAYBUFFER */ - if (vmem_save(URaid_arg1) != NIL) { #ifndef DISPLAYBUFFER clear_display();