Skip to content

Avoid conditional use of possibly uninitialized value in CategoryListWidgetDelegate#1613

Merged
TheZ3ro merged 1 commit intorelease/2.3.1from
hotfix/valgrind-fixes
Mar 3, 2018
Merged

Avoid conditional use of possibly uninitialized value in CategoryListWidgetDelegate#1613
TheZ3ro merged 1 commit intorelease/2.3.1from
hotfix/valgrind-fixes

Conversation

@phoerious
Copy link
Copy Markdown
Member

Description

Fixes usage of possibly undefined value in a branch condition.

Motivation and context

I found this bug with valgrind.

How has this been tested?

No more valgrind warnings about "Conditional jump or move depends on uninitialised value(s)".

Types of changes

  • ✅ Bug fix (non-breaking change which fixes an issue)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]

@phoerious phoerious added the bug label Mar 3, 2018
@phoerious phoerious added this to the 2.3.1 milestone Mar 3, 2018
@phoerious phoerious requested a review from a team March 3, 2018 15:28
@TheZ3ro
Copy link
Copy Markdown
Contributor

TheZ3ro commented Mar 3, 2018

This needs to be rebased

@phoerious phoerious force-pushed the hotfix/valgrind-fixes branch from 64fbf31 to f9fd034 Compare March 3, 2018 18:17
@TheZ3ro TheZ3ro merged commit 8cd4d83 into release/2.3.1 Mar 3, 2018
@TheZ3ro TheZ3ro deleted the hotfix/valgrind-fixes branch March 3, 2018 19:38
phoerious added a commit that referenced this pull request Mar 6, 2018
- Fix unnecessary automatic upgrade to KDBX 4.0 and prevent challenge-response key being stripped [#1568]
- Abort saving and show an error message when challenge-response fails [#1659]
- Support inner stream protection on all string attributes [#1646]
- Fix favicon downloads not finishing on some websites [#1657]
- Fix freeze due to invalid STDIN data [#1628]
- Correct issue with encrypted RSA SSH keys [#1587]
- Fix crash on macOS due to QTBUG-54832 [#1607]
- Show error message if ssh-agent communication fails [#1614]
- Fix --pw-stdin and filename parameters being ignored [#1608]
- Fix Auto-Type syntax check not allowing spaces and special characters [#1626]
- Fix reference placeholders in combination with Auto-Type [#1649]
- Fix qtbase translations not being loaded [#1611]
- Fix startup crash on Windows due to missing SVG libraries [#1662]
- Correct database tab order regression [#1610]
- Fix GCC 8 compilation error [#1612]
- Fix copying of advanced attributes on KDE [#1640]
- Fix member initialization of CategoryListWidgetDelegate [#1613]
- Fix inconsistent toolbar icon sizes and provide higher-quality icons [#1616]
- Improve preview panel geometry [#1609]
@phoerious phoerious added pr: bugfix Pull request fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: bugfix Pull request fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants