Suspicous code in KDE 4 trunk r764353

Allan Sandfeld Jensen kde at carewolf.com
Sat Jan 26 16:09:20 GMT 2008


On Tuesday 22 January 2008 22:11, Harri Porten wrote:
> On Tue, 22 Jan 2008, Christoph Bartoschek wrote:
> > - kdelibs/khtml/css/css_valueimpl.cpp:1234
> >
> > docLoader remains NULL if line 1231 is false and crashes here.
>
> Someone else (Allen?) will have to decide how to handle this case.
>
Just check for docLoader != 0 before accessing it, but it doesn't really 
matter in KHTML though. The crash only triggers for non-CSS stylesheets (like 
XSL), and we don't parse those at all.

`Allan




More information about the kde-core-devel mailing list