On 2010/02/08 19:27:13, Erik Corry wrote:
I think this is a very good idea and definitely worth doing for the other
architectures too.  Perhaps we should just abort the VM if the arg count
mismatches? As long as we get a reasonable stack trace that seems safer than
continuing after an attacker has attempted to subvert the %_ natives.

As discussed offline, I would throw a compile-time exception in case of arg
count mismatch.  That matches the way we handle inconsistencies in the other
runtime functions.

http://codereview.chromium.org/573056

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to