On Mon, Jan 12, 2015 at 3:13 PM, Dave Hansen
wrote:
> On 01/12/2015 03:04 PM, Andy Lutomirski wrote:
>> 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
On 01/12/2015 03:04 PM, Andy Lutomirski wrote:
> 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 */
>
If next_byte + sizeof(t) == end_kaddr, then we are trying to read
exactly to the end; this should be allowed.
Fixes: 6ba48ff46f76 x86: Remove arbitrary instruction size limit in instruction
decoder
Signed-off-by: Andy Lutomirski
---
arch/x86/lib/insn.c | 2 +-
1 file changed, 1 insertion(+), 1
If next_byte + sizeof(t) == end_kaddr, then we are trying to read
exactly to the end; this should be allowed.
Fixes: 6ba48ff46f76 x86: Remove arbitrary instruction size limit in instruction
decoder
Signed-off-by: Andy Lutomirski l...@amacapital.net
---
arch/x86/lib/insn.c | 2 +-
1 file
On 01/12/2015 03:04 PM, Andy Lutomirski wrote:
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
On Mon, Jan 12, 2015 at 3:13 PM, Dave Hansen
dave.han...@linux.intel.com wrote:
On 01/12/2015 03:04 PM, Andy Lutomirski wrote:
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 @@
6 matches
Mail list logo