Fix #2832 - oob read in r_mem_copyendian

This commit is contained in:
Álvaro Felipe Melchor 2015-06-28 12:03:18 +02:00 committed by pancake
parent 5ca5f143d1
commit 371501b724

View File

@ -1531,6 +1531,7 @@ ignore:
/* XXXX:YYYY */
} else {
*ptr2 = '\0';
if (!ptr2[1]) return -1;
r_core_block_size (core, r_num_math (core->num, ptr2+1));
}
}