« Return to Thread: The Anthropic Side Channel (was: How would shallow generators compose with lambda?)

Re: The Anthropic Side Channel (was: How would shallow generators compose with lambda?)

by Igor Bukanov-2 :: Rate this Message:

Reply to Author | View in Thread

2009/5/27 Maciej Stachowiak <mjs@...>:
>
> I'm not sure but I think maybe the Safari behavior is a bug, as the finally
> clause could contain another infinite loop.

Indeed, if a browser respects finally clauses in the code after
terminating a too long running loop, then the following would be an
effective DOS:

javascript:Array(1e3).join('try {')+Array(1e3).join('} finally { while
(1); }');

Regards, Igor
_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

 « Return to Thread: The Anthropic Side Channel (was: How would shallow generators compose with lambda?)