From 679712023912fefb95b168bdff6310d860b75b89 Mon Sep 17 00:00:00 2001 From: alvarofe Date: Sat, 2 Sep 2017 18:50:38 +0200 Subject: [PATCH] Fix radiff2 tests --- libr/anal/diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/anal/diff.c b/libr/anal/diff.c index 62f3d5d1dc..30ec7e9e31 100644 --- a/libr/anal/diff.c +++ b/libr/anal/diff.c @@ -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 ())) {