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

Igor Bukanov igor at mir2.org
Wed May 27 02:46:24 PDT 2009


2009/5/27 Igor Bukanov <igor at mir2.org>:
> 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); }');

I meant

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

Igor


More information about the es-discuss mailing list