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

megan.con...@kdemail.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/offi
                   |                            |ce/ghostwriter/-/commit/f82
                   |                            |070ac7916b36bb0bfd84a5c0e96
                   |                            |cb084a6e28
         Resolution|---                         |FIXED

--- Comment #1 from megan.con...@kdemail.net ---
Git commit f82070ac7916b36bb0bfd84a5c0e96cb084a6e28 by Megan Conkle.
Committed on 13/10/2024 at 06:34.
Pushed by wereturtle into branch 'master'.

Fix segmentation fault when .conf file is missing

Whenever ghostwriter.conf is missing (or the last used exporter within
is empty), the app will crash with a segmentation fault due to accessing
an uninitialed pointer to the current HTML exporter in appsettings.cpp.
This commit ensures that the pointer is initialized to null before being
checked for whether obtaining an exporter was successful.

M  +6    -0    CHANGELOG.md
M  +12   -12   src/preview/htmlpreview.cpp
M  +12   -6    src/settings/appsettings.cpp

https://invent.kde.org/office/ghostwriter/-/commit/f82070ac7916b36bb0bfd84a5c0e96cb084a6e28

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to