1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-20 17:47:48 +00:00

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.
This commit is contained in:
Nick Briggs 2021-09-02 15:14:32 -07:00
parent 377a6f3f47
commit 740f012254

View File

@ -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();