D22779: Fix a segmentation fault in autotest messagefactoryngtest

Glen Ditchfield noreply at phabricator.kde.org
Sat Jul 27 15:44:10 BST 2019


gjditchfield created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
gjditchfield requested review of this revision.

REVISION SUMMARY
  Messagefactoryngtest usually fails due to a segmentation fault.  The
  fault happens most often during initTestCase at the call to
  ident.uoid(), but sometimes occurs at other spots.
  
  This patch avoids the fault.  It imitates the initialization pattern
  in templateparserjobtest.

REPOSITORY
  R94 PIM: Message Library

BRANCH
  segfaults (branched from master)

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

AFFECTED FILES
  messagecomposer/autotests/messagefactoryngtest.cpp
  messagecomposer/autotests/messagefactoryngtest.h

To: gjditchfield
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190727/3f80d3ef/attachment.html>


More information about the kde-pim mailing list