mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 20:46:20 +00:00
Fix #7070 - oob read wrong init buffer asm_sh.c
This commit is contained in:
parent
c9b46d6c9a
commit
ce25037120
@ -11,7 +11,7 @@
|
||||
|
||||
static unsigned long Offset = 0;
|
||||
static char *buf_global = NULL;
|
||||
static unsigned char bytes[2];
|
||||
static unsigned char bytes[4];
|
||||
|
||||
static int sh_buffer_read_memory (bfd_vma memaddr, bfd_byte *myaddr, unsigned int length, struct disassemble_info *info) {
|
||||
//this is obviously wrong. but how can we read arbitrary data @ memaddr from here?
|
||||
|
Loading…
x
Reference in New Issue
Block a user