[Kde-imaging] [Bug 307775] libkipi1 apps crash with libkipi2 plugins installed

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Oct 3 14:50:10 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=307775

--- Comment #2 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
This crash is the inverse to the problems we had with libkipi1 plugins being
loaded into a libkipi2 app.

1) A libkipi1 app loads a libkipi2 plugin
2) The plugin's constructor is combined with the KIPI::Plugin constructor from
libkipi1, as the symbol name does not differ
3) The plugin's constructor calls setUIBaseName. This symbol does not exist in
libkipi1, so the code from libkipi1 is called
4) KIPI::Plugin::setUIBaseName accesses d->uiBaseName. As the constructor of
KIPI::Plugin libkipi1 was used, Plugin::Private does not contain this field.
5) Invalid memory is accessed.

Ideas?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-imaging mailing list