Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix result propagation in SymmetricCipherGcrypt::process #1099

Merged
merged 2 commits into from
Oct 21, 2017
Merged

🐛 Fix result propagation in SymmetricCipherGcrypt::process #1099

merged 2 commits into from
Oct 21, 2017

Conversation

petermax2
Copy link
Contributor

This is the same change as in #1096 but with target set to release/2.2.2.

Description

The boolean parameter ok has always been set to true, regardless of possible errors.

Motivation and context

I found this bug while skimming through the source code.

How has this been tested?

not tested. testing would require to pass a faulty crypto block to SymmetricCipherGcrypt::process.

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]

petermax2 and others added 2 commits October 21, 2017 19:18
The boolean 'ok' has always been set to true, regardless of possible errors.
@phoerious phoerious added this to the v2.2.2 milestone Oct 21, 2017
@phoerious phoerious added the bug label Oct 21, 2017
@phoerious phoerious merged commit a895729 into keepassxreboot:release/2.2.2 Oct 21, 2017
phoerious added a commit that referenced this pull request Oct 21, 2017
- Fixed entries with empty URLs being reported to KeePassHTTP clients [#1031]
- Fixed YubiKey detection and enabled CLI tool for AppImage binary [#1100]
- Added AppStream description [#1082]
- Improved TOTP compatibility and added new Base32 implementation [#1069]
- Fixed error handling when processing invalid cipher stream [#1099]
- Fixed double warning display when opening a database [#1037]
- Fixed unlocking databases with --pw-stdin [#1087]
- Added ability to override QT_PLUGIN_PATH environment variable for AppImages [#1079]
- Fixed transform seed not being regenerated when saving the database [#1068]
- Fixed only one YubiKey slot being polled [#1048]
- Corrected an issue with entry icons while merging [#1008]
- Corrected desktop and tray icons in Snap package [#1030]
- Fixed screen lock and Google fallback settings [#1029]
@petermax2 petermax2 deleted the release/2.2.2 branch October 22, 2017 18:01
@phoerious phoerious added pr: bugfix Pull request that 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 that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants