mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 07:26:42 +00:00
Fix #301 - Invalid size: 5 while disassembling x86 TE binary
This commit is contained in:
parent
567bccae92
commit
724630896b
@ -184,7 +184,9 @@ R_API void r_mem_copyendian (ut8 *dest, const ut8 *orig, int size, int endian) {
|
||||
dest[7] = buffer[0];
|
||||
break;
|
||||
default:
|
||||
eprintf ("Invalid size: %d\n", size);
|
||||
if (dest != orig)
|
||||
memmove (dest, orig, size);
|
||||
//eprintf ("Invalid endian copy of size: %d\n", size);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user