On 06/03/2011 10:37 PM, Pekka Enberg wrote:
This patch fixes access to 'ah' in int10_vesa() by masking the high bits.

@@ -131,7 +131,7 @@ static void int10_vesa(struct int10_args *args)
  {
        u8 al;

-       al = args->eax;
+       al = args->eax&  0xff;

Isn't this reading %al? And the high bits are masked by the type of the variable?

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to