On 08/23/2009 02:24 PM, Mohammed Gamal wrote:
Signed-off-by: Mohammed Gamal<[email protected]>

Applied, thanks.

+static int emulate_pop_sreg(struct x86_emulate_ctxt *ctxt,
+                            struct x86_emulate_ops *ops, int seg)
+{
+       struct decode_cache *c =&ctxt->decode;
+       u16 selector;
+       int rc;
+
+       rc = emulate_pop(ctxt, ops,&selector, c->op_bytes);

This overflows the stack. I changed 'selector' to be unsigned long to fix this.

--
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