diff --git a/CHANGELOG b/CHANGELOG index 4e344b74..9eafaa6d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +2.3.3 (2018-05-09) +========================= + +- Fix crash when browser integration is enabled [#1923] + 2.3.2 (2018-05-07) ========================= diff --git a/CMakeLists.txt b/CMakeLists.txt index a33ea241..a4cb4d1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ set(CMAKE_AUTOUIC ON) set(KEEPASSXC_VERSION_MAJOR "2") set(KEEPASSXC_VERSION_MINOR "3") -set(KEEPASSXC_VERSION_PATCH "2") +set(KEEPASSXC_VERSION_PATCH "3") set(KEEPASSXC_VERSION "${KEEPASSXC_VERSION_MAJOR}.${KEEPASSXC_VERSION_MINOR}.${KEEPASSXC_VERSION_PATCH}") set(KEEPASSXC_BUILD_TYPE "Snapshot" CACHE STRING "Set KeePassXC build type to distinguish between stable releases and snapshots") @@ -117,6 +117,10 @@ elseif(KEEPASSXC_DIST_TYPE STREQUAL "Other") unset(KEEPASSXC_DIST) endif() +if("${CMAKE_SIZEOF_VOID_P}" EQUAL "4") + set(IS_32BIT TRUE) +endif() + if("${CMAKE_C_COMPILER}" MATCHES "clang$" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_COMPILER_IS_CLANG 1) endif() @@ -237,8 +241,13 @@ if(MINGW) set(CMAKE_RC_COMPILE_OBJECT " -O coff -i -o ") if(NOT (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")) # Enable DEP and ASLR - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--nxcompat -Wl,--dynamicbase -Wl,--high-entropy-va") - set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--nxcompat -Wl,--dynamicbase -Wl,--high-entropy-va") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--nxcompat -Wl,--dynamicbase") + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--nxcompat -Wl,--dynamicbase") + # Enable high entropy ASLR for 64-bit builds + if(NOT IS_32BIT) + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--high-entropy-va") + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--high-entropy-va") + endif() endif() endif() diff --git a/share/linux/org.keepassxc.KeePassXC.appdata.xml b/share/linux/org.keepassxc.KeePassXC.appdata.xml index ba7f8e6f..2f174794 100644 --- a/share/linux/org.keepassxc.KeePassXC.appdata.xml +++ b/share/linux/org.keepassxc.KeePassXC.appdata.xml @@ -50,6 +50,13 @@ + + +
    +
  • Fix crash when browser integration is enabled [#1923]
  • +
+
+
    diff --git a/share/translations/keepassx_ca.ts b/share/translations/keepassx_ca.ts index a0981113..20316f16 100644 --- a/share/translations/keepassx_ca.ts +++ b/share/translations/keepassx_ca.ts @@ -260,7 +260,7 @@ Seleccioneu si voleu permetre l'accés. Re&quest to unlock the database if it is locked - Sol·licitar el desbloqueig de la base de dades si està blocada + Sol·licita el desbloqueig de la base de dades si està blocada Only entries with the same scheme (http://, https://, ...) are returned. @@ -575,7 +575,7 @@ Please consider generating a new key file. Copy history - Còpia el historial + Copia el historial @@ -1248,7 +1248,7 @@ Do you want to merge your changes? Never - + Mai [PROTECTED] @@ -1897,7 +1897,7 @@ This may cause the affected plugins to malfunction. Never - + Mai Password @@ -1913,15 +1913,15 @@ This may cause the affected plugins to malfunction. Created - + Creat Modified - + Modificat Accessed - + Accedit Attachments @@ -2667,7 +2667,7 @@ Es tracta d'una migració unidireccional. No obrir la base de dades importa &Close database - Tanca base de dades + Tanca la base de dades &New database @@ -2727,11 +2727,11 @@ Es tracta d'una migració unidireccional. No obrir la base de dades importa Copy &username - Còpia el nom d'&usuari + Copia el nom d'&usuari Copy username to clipboard - Còpia el nom d'usuari al porta-retalls + Copia el nom d'usuari al porta-retalls Cop&y password @@ -2739,11 +2739,11 @@ Es tracta d'una migració unidireccional. No obrir la base de dades importa Copy password to clipboard - Còpia la contrasenya al porta-retalls + Copia la contrasenya al porta-retalls &Settings - &Conficuració + &Configuració Password Generator @@ -2751,7 +2751,7 @@ Es tracta d'una migració unidireccional. No obrir la base de dades importa &Perform Auto-Type - Realitza complació automètica + Realitza compleció automàtica &Open URL @@ -2759,7 +2759,7 @@ Es tracta d'una migració unidireccional. No obrir la base de dades importa &Lock databases - &bloqueja la bases de dades + &Bloqueja la bases de dades &Title @@ -3510,11 +3510,11 @@ Available commands: Last Modified - + Darrera modificació Created - + Creat Legacy Browser Integration diff --git a/snapcraft.yaml b/snapcraft.yaml index 16810cd5..5a3597c3 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: keepassxc -version: 2.3.2 +version: 2.3.3 grade: stable summary: Community-driven port of the Windows application “KeePass Password Safe” description: | diff --git a/src/browser/NativeMessagingHost.cpp b/src/browser/NativeMessagingHost.cpp index f6507ae9..54ed6a9f 100644 --- a/src/browser/NativeMessagingHost.cpp +++ b/src/browser/NativeMessagingHost.cpp @@ -80,7 +80,7 @@ void NativeMessagingHost::run() QFile::remove(serverPath); // Ensure that STDIN is not being listened when proxy is used - if (m_notifier->isEnabled()) { + if (m_notifier && m_notifier->isEnabled()) { m_notifier->setEnabled(false); }