|
From: | joro 42 |
Subject: | [Qemu-devel] qemu allows code execution on the stack, even if the quest operating system makes the stack nonexecutable |
Date: | Wed, 13 Oct 2004 00:39:15 +0800 |
tested openwall linux and openbsd 3.5 under qemu. both of them claim to make the stack non executable when on real x86. but under qemu, code on the stack seems executed on owl and obsd3.5. try the following program: =========== void main() { char trap[]="\xcc"; // "\xeb\xfe" for loop void (*f)(); f=trap; f(); } =========== it executes code instead of SEGV on openwall/openbsd. /j -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze
[Prev in Thread] | Current Thread | [Next in Thread] |