diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-13 00:33:16 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-13 00:33:16 +0300 |
commit | 7bfb8575b82cd1facde3dc5be2b125f408171646 (patch) | |
tree | 9df1049fe7491df41efe02109b7192334881176c /arch/x86/lib/insn.c | |
parent | 6c869d301bda3f672f001e2c9fcb01685000fc83 (diff) | |
parent | 61864d844c296933d40c02683252bbea5193b101 (diff) | |
download | linux-7bfb8575b82cd1facde3dc5be2b125f408171646.tar.xz |
Merge branch 'topic/line6' into for-next
Diffstat (limited to 'arch/x86/lib/insn.c')
-rw-r--r-- | arch/x86/lib/insn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/insn.c b/arch/x86/lib/insn.c index 2480978b31cc..1313ae6b478b 100644 --- a/arch/x86/lib/insn.c +++ b/arch/x86/lib/insn.c @@ -28,7 +28,7 @@ /* Verify next sizeof(t) bytes can be on the same instruction */ #define validate_next(t, insn, n) \ - ((insn)->next_byte + sizeof(t) + n < (insn)->end_kaddr) + ((insn)->next_byte + sizeof(t) + n <= (insn)->end_kaddr) #define __get_next(t, insn) \ ({ t r = *(t*)insn->next_byte; insn->next_byte += sizeof(t); r; }) |