1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

Fix ldeinit segmentation fault on keyboard/mouse input (#425)

Keyboard, cursor, and mouse pointers are not initialized in
ldeinit.  Do not process X events as they will cause a segmentation
fault referencing the uninitialized pointers.
This commit is contained in:
Nick Briggs 2022-07-14 13:34:36 -07:00 committed by GitHub
parent b5f51d58f1
commit b27bd2fbab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1118,7 +1118,9 @@ check_interrupt:
* If the system is configured with SIGIO handling we have a hint
* that allows us to cheaply skip if there's nothing to do
*/
#ifndef INIT
process_Xevents(currentdsp);
#endif
if (IO_Signalled) {
IO_Signalled = FALSE;