D15728: Try to avoid segfaults on shape factory not found

Damien Caliste noreply at phabricator.kde.org
Mon Sep 24 14:08:51 BST 2018


dcaliste created this revision.
dcaliste added reviewers: leinir, anthonyfieroni, danders, Calligra: 3.0.
dcaliste added a project: Calligra: 3.0.
Herald added a subscriber: Calligra-Devel-list.
dcaliste requested review of this revision.

REVISION SUMMARY
  Try to catch every pattern of KoShapeRegistry::instance()->value() in the code and check the return pointer before using it.
  
  It's a follow-up of https://phabricator.kde.org/D15679.

REPOSITORY
  R8 Calligra

REVISION DETAIL
  https://phabricator.kde.org/D15728

AFFECTED FILES
  plugins/commentshape/CommentShape.cpp
  plugins/defaultTools/connectionTool/ConnectionTool.cpp
  sheets/Sheet.cpp
  sheets/part/Doc.cpp
  stage/part/KPrEndOfSlideShowPage.cpp
  stage/part/KPrNotes.cpp
  stage/part/KPrPlaceholderStrategy.cpp
  stage/part/KPrPlaceholderTextStrategy.cpp
  words/part/KWDocument.cpp

To: dcaliste, leinir, anthonyfieroni, danders, #calligra:_3.0
Cc: Calligra-Devel-list, dcaliste, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20180924/73ad0093/attachment.htm>


More information about the calligra-devel mailing list