Debian Patches

Status for kbibtex/0.9.90-1.1

Patch Description Author Forwarded Bugs Origin Last update
0001-Fix-crash-with-newer-Qt-versions.patch Fix crash with newer Qt versions
Assign m_internalModel before calling into
QSortFilterProxyModel::setSourceModel since that can end up calling filterAcceptsRow
Albert Astals Cid <aacid@kde.org> no 2021-04-08
0001-Fixing-crash-when-opening-.bib-file.patch Fixing crash when opening .bib file
In certain situations, also depending on Linux distributions (varying Qt
and KDE Frameworks versions), opening a bibliography file can cause
crashes (segmentation faults) due to an invalid model or its underlying
data.

This commit changes the order of two instructions. Now first an internal
variable is properly set. Only then an update on the model is applied.

The largest part of this commit is a new test that reproducibly crashes
without the changed order of two instructions, but passes after the fix
has been applied.

This commit is a forward-port of commit 4aea6ed35b1629b3dba65a44 from
branch 'kbibtex/0.10'.
Thomas Fischer <fischer@unix-ag.uni-kl.de> no 2022-12-31

All known versions for source package 'kbibtex'

Links