]> cloud.milkyroute.net Git - dolphin.git/commit
Never pass null-items to version-control-plugins
authorPeter Penz <peter.penz19@gmail.com>
Fri, 27 Apr 2012 07:28:00 +0000 (09:28 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 27 Apr 2012 07:31:57 +0000 (09:31 +0200)
commit0a00f13bf246d37182dafcd053776048f63d2299
treeacd5655d939c413960b20d037d8da89037a756ab
parentd1c5dc52a3ac4f83262d00d37a61f6bfb52d5bf4
Never pass null-items to version-control-plugins

Some plugins are not prepared for this and might crash. Although
the additional check in VersionControlObserver::actions() should not
be necessary because of the fix in DolphinView, it is left here
to catch potential other cases where a null-item might get passed
accidently.

Thanks to Ilya for initially patching the Box-plugin which gave
a hint whats going wrong.

BUG: 294336
FIXED-IN: 4.9.0
src/views/dolphinview.cpp
src/views/versioncontrol/versioncontrolobserver.cpp