Fix radiff2 tests

This commit is contained in:
alvarofe 2017-09-02 18:50:38 +02:00
parent 482f72a5b9
commit 6797120239

View File

@ -61,7 +61,7 @@ R_API int r_anal_diff_fingerprint_bb(RAnal *anal, RAnalBlock *bb) {
free (bb->fingerprint);
return false;
}
if (anal->iob.read_at (anal->iob.io, bb->addr, buf, bb->size) == bb->size) {
if (anal->iob.read_at (anal->iob.io, bb->addr, buf, bb->size)) {
memcpy (bb->fingerprint, buf, bb->size);
if (anal->diff_ops) { // diff using only the opcode
if (!(op = r_anal_op_new ())) {