mirror of
https://github.com/hsoft/collapseos.git
synced 2025-04-05 08:58:39 +11:00
Fix buffer overrun in shell emulator
This commit is contained in:
parent
8926c33ab1
commit
9350bf90ca
@ -40,7 +40,7 @@
|
|||||||
#define FS_ADDR_PORT 0x02
|
#define FS_ADDR_PORT 0x02
|
||||||
|
|
||||||
static Z80Context cpu;
|
static Z80Context cpu;
|
||||||
static uint8_t mem[0xffff] = {0};
|
static uint8_t mem[0x10000] = {0};
|
||||||
static uint8_t fsdev[MAX_FSDEV_SIZE] = {0};
|
static uint8_t fsdev[MAX_FSDEV_SIZE] = {0};
|
||||||
static uint32_t fsdev_size = 0;
|
static uint32_t fsdev_size = 0;
|
||||||
static uint32_t fsdev_ptr = 0;
|
static uint32_t fsdev_ptr = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user