[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Konqy crashes on badly placed MAP
From:       Lars Knoll <Lars.Knoll () mpi-hd ! mpg ! de>
Date:       2000-04-12 21:46:08
[Download RAW message or body]

On Wed, 12 Apr 2000, Waldo Bastian wrote:

> On http://www.linux.com in the paragraph in the left column titled
> "ComputerWorld: Guilty Verdict Could Boost Linux Fortunes" is a link
> labeled "affected the future".
> 
> Aka 
> http://www.idg.net/servlet/ContentServlet?global_doc_id=164492&page_id=178&content_source_id=5&return_spot=ts0&logger_loc=specials%2Faggregate
>  
> This page crashes because of a failure to do an insertNode() on a MAP
> element. Because of this, the MAP element gets deleted, but the variable 
> 'map' doesn't get reset. 
> 
> I applied the following patch to CVS:
> 
> htmlparser.cpp:
> @@ -361,6 +361,16 @@
> {
> // we couldn't insert the node...
> +        if (map == n)
> +            map = 0;
> +        if (form == n)
> +            form = 0;
> delete n;
> }                                                                        
> 
> 
> Does that make sense or is there a better way to fix this?

Sounds ok for the moment. I'll check the page/code tomorrow and see if if
there is a better way.
> 
> The same page now crashes when exiting the page due to a double object 
> deletion. (Of a RenderSelect object) I don't think this is related to the
> above though.

Is that related to some <object> element on the page? I had quite some
crashes lately with pages including <object> elements.

Cheers,
Lars


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic