Skip to content

🐛 Fix result propagation in SymmetricCipherGcrypt::process#1096

Closed
petermax2 wants to merge 88 commits intokeepassxreboot:release/2.2.2from
petermax2:crypto_fix
Closed

🐛 Fix result propagation in SymmetricCipherGcrypt::process#1096
petermax2 wants to merge 88 commits intokeepassxreboot:release/2.2.2from
petermax2:crypto_fix

Conversation

@petermax2
Copy link
Copy Markdown
Contributor

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]

weslly and others added 30 commits June 25, 2017 12:21
Bring unlock database dialog to the front
Fix release building and require CMake 3.1+
Added proper plural processing in CSV importer (localization)
detect system zxcvbn library
Fix apply button on settings window
Update issue template to ask for debug info from new About dialog
📝 Remove reference to Google Groups from CONTRIBUTING.md
Split auto-type title and URL matching into separate options (fixes #638)
* the url for script functions.sh was changed, see [functions.sh](https://github.com/AppImage/AppImages/raw/master/functions.sh)

* for information, **bug** on appImage: functions.sh don't build on debian, see [pull request](AppImageCommunity/pkg2appimage#252) then release-tool don't work.   
  the PR was accepted, and it is **important** for debian platforms
AppImage fixes for 32 bit architectures
Fix url to build environment instructions
@phoerious phoerious added the bug label Oct 21, 2017
@phoerious
Copy link
Copy Markdown
Member

Could you change the target to release/2.2.2 please? Thanks!

@phoerious phoerious added this to the v2.2.2 milestone Oct 21, 2017
Remove emoji in commit messages from style guide
…-inline-message-widget

Add auto hide functionality to inline message widget (#1006)
@petermax2 petermax2 changed the base branch from develop to release/2.2.2 October 21, 2017 17:09
@petermax2 petermax2 changed the base branch from release/2.2.2 to develop October 21, 2017 17:10
@petermax2 petermax2 changed the base branch from develop to release/2.2.2 October 21, 2017 17:13
@petermax2
Copy link
Copy Markdown
Contributor Author

Does this work for you or should I re-open the PR and commit to release/2.2.2?

@phoerious
Copy link
Copy Markdown
Member

You could have just rebased your branch. ;-)

@phoerious phoerious removed this from the v2.2.2 milestone Oct 21, 2017
@petermax2
Copy link
Copy Markdown
Contributor Author

Oops I did not think about that. Thank you for pointing it out! :-)

@petermax2 petermax2 deleted the crypto_fix branch October 22, 2017 17:58
@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.