[Kalzium] [kalzium] [Bug 338666] Kalzium crashes when selecting >File >Export Data...

Martin Walch walch.martin at web.de
Mon Sep 15 16:39:36 UTC 2014


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

Martin Walch <walch.martin at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.14.2
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kalz
                   |                            |ium/287791bb40d416e4d6eb3f4
                   |                            |b45fa40f89fbe883f

--- Comment #1 from Martin Walch <walch.martin at web.de> ---
Git commit 287791bb40d416e4d6eb3f4b45fa40f89fbe883f by Martin Walch.
Committed on 15/09/2014 at 14:21.
Pushed by martinwalch into branch 'master'.

Fix bug #338666: "Kalzium crashes when selecting >File >Export Data..."

Problem is easy to spot with valgrind:
The private ExportDialog *m_exportDialog is not explicitely initialized
with 0, so later calling "if (!m_exportDialog)" may fail.

This accidentally slipped in with a header cleanup (commit d36687d50...)

Easy fix: initialize the pointer with 0 just like all the others.
FIXED-IN: 4.14.2

M  +1    -0    src/kalzium.cpp

http://commits.kde.org/kalzium/287791bb40d416e4d6eb3f4b45fa40f89fbe883f

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


More information about the Kalzium mailing list