projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0afdd6
)
Fix memory corruption on failed DOS memory allocation
author
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 29 Oct 2026 12:11:30 +0000
(12:11 +0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 29 Oct 2026 12:11:30 +0000
(12:11 +0000)
interrupts.c
patch
|
blob
|
history
diff --git
a/interrupts.c
b/interrupts.c
index fefa7c837513b2940488aa4c2719213c2bf34fb8..5b9a1ee0dc23058211169271e912f82fc52a6ec3 100644
(file)
--- a/
interrupts.c
+++ b/
interrupts.c
@@
-2507,6
+2507,8
@@
static void dos_allocate_memory (CPU8086 *cpu, uint16_t requested, uint16_t owne
dos_set_error (cpu, 0x0008);
cpu->regs[REG_BX] = max_free;
+
+ return;
}