From 8aabcfa5a2cac00b87bd4a0e54ceee603b41f713 Mon Sep 17 00:00:00 2001 From: Filip Krakowski Date: Fri, 3 May 2019 15:30:20 +0200 Subject: [PATCH] Update src/main/java/de/hhu/bsinfo/dxmem/operations/RawCompare.java Co-Authored-By: LarsMeh <47028553+LarsMeh@users.noreply.github.com> --- src/main/java/de/hhu/bsinfo/dxmem/operations/RawCompare.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/hhu/bsinfo/dxmem/operations/RawCompare.java b/src/main/java/de/hhu/bsinfo/dxmem/operations/RawCompare.java index 4b1f075..4f2f1b7 100644 --- a/src/main/java/de/hhu/bsinfo/dxmem/operations/RawCompare.java +++ b/src/main/java/de/hhu/bsinfo/dxmem/operations/RawCompare.java @@ -48,6 +48,7 @@ public boolean compare(final long p_address, final int p_offset, final byte p_su */ public boolean compare(final long p_address, final int p_offset, final byte[] p_suspect) { int offset = p_offset; + for (byte b : p_suspect) { if (!compare(p_address, offset, b)) return false;