Fwd: Re: Buffer Overflow with all versions of Internet Explorer and Javacript.

Harri Porten porten at trolltech.com
Tue Jun 4 10:35:24 BST 2002


On Mon, 3 Jun 2002, George Staikos wrote:

> > In KDE's konqueror Latest Version it Seg Faults the browser instantly
> 
> a bit OT, but anyway, I also checked this and
> Konqeror 3.0.0 hogs the CPU, but there was no segfault, the same effect (100%
> CPU utilization) is done by simply this:
> <html><head></head>
> <script language="JAVASCRIPT">
> function foo() {
> foo();
> }
> </script>

I guess it will crash eventually. Not because of a buffer overflow but a
stack overflow.

> <input type="button" onClick="foo();" value="SMASH!"></input>
> </html>
> 
> This situation is handled by both IE and Mozilla 1.0rc1 (no hogs there)

Do you know of they abort, i.e. ever the leave the recursion ? Or do they
also continue infinitely with the CPU load being lower because of
threading ?

Harri.





More information about the kfm-devel mailing list