patch: kjs recursion limit fix
porten at froglogic.com
porten at froglogic.com
Wed Oct 29 02:29:36 CET 2003
On Tue, 28 Oct 2003, Maciej Stachowiak wrote:
>
> This fixes a problem with recursion limit accounting which makes it
> possible to totally disable JavaScript execution by exceeding the
> recursion limit enough times. Should be self-explanatory.
Thanks. Matches the behaviour as far I could trigger it in Mozilla.
Note: we have moved this code to Object::call() in the middle of last
year. I don't recall the concrete test case back then but I would guess it
was something like
var a = [];
a.push(a);
a + "";
Hmmm. Mozilla doesn't give any error at all on this one.
Harri.
More information about the Khtml-devel
mailing list