Skip to content

Memory access violation after merging databases #940

@hofesh

Description

@hofesh

image

After modifying an existing DB, then merging it with the original and then searching for the modified entry - the application crashes with a memory access violation as seen above.

Steps to Reproduce

sample.zip

create sample files using these steps (or download the attached sample files):

  1. create a new DB with a single entry. Fill all field with stub values.
  2. save as "test.kdbx"
  3. close and re-open the DB.
  4. modify the entry by prepending "111 " to it's name.
  5. Save as "test-111.kdbx" and close the DB.

Activate the bug:

  1. open test.kdbx
  2. File -> Merge Database
  3. Select and open test-111.kdbx
  4. Click the search box
  5. Type "1"
  6. Application crashes.

Debug Info

KeePassXC - Version 2.2.0
Revision: caa49a8

Libraries:

  • Qt 5.9.0
  • libgcrypt 1.7.7

Operating system: Windows 10 (10.0)
CPU architecture: x86_64
Kernel: winnt 10.0.16278

Enabled extensions:

  • KeePassHTTP
  • Auto-Type
  • YubiKey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions