Revision ca2a6a5...

Go back to digest for 27th May 2012

Bug Fixes in KDE Base

Michael Pyne committed changes in [kdelibs/KDE/4.8] kdecore/util/kshareddatacache.cpp:

kshareddatacache: Adopt KSDCCorrupted for exceptional errors.

This involves converting many present assertions (which crash no matter
what) and error-code return values (which have to be checked everywhere
the return value is used at) into using the KSDCCorrupted exception.

The nice thing about using the exception is that it can be trapped and
handled so that it does not cause an application crash.

There's still a bit more to do -- the end goal is that all accesses to
shm, no matter how minor, are vetted beforehand to ensure it won't cause
a page fault or bus violation.


File Changes

Modified 1 files
  • kdecore/util/kshareddatacache.cpp
1 files changed in total