Fix nullptr dereference when replying to emails without a CC header
ClosedPublic

Authored by vkrause on Oct 23 2019, 4:21 PM.

Details

Summary

This is a regression from 7763a47b49 / D24624. The previous code used
cc() rather than cc(false) as well here, which avoids the problem (despite
maybe not being entirely ideal).

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Oct 23 2019, 4:21 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptOct 23 2019, 4:21 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Oct 23 2019, 4:21 PM
gjditchfield accepted this revision.Oct 23 2019, 7:05 PM
This revision is now accepted and ready to land.Oct 23 2019, 7:05 PM
mlaurent accepted this revision.Oct 24 2019, 4:50 AM
This revision was automatically updated to reflect the committed changes.