Release 0.4.4

master v0.4.4
Thomas Hooge 7 years ago
parent 7661464bed
commit 1b33dde879
  1. 11
      changelog
  2. 8
      share/macx_bundle/Info.plist
  3. 2
      src/keepassx.h
  4. 4
      src/lib/FileDialogs.cpp
  5. 9
      src/main.cpp

@ -1,3 +1,12 @@
----------------------------
0.4.4 (2015-12-08)
----------------------------
- Add hardening measures to prevent loading DLLs from the current working directory on Windows. (CVE-2015-8359)
- Fix CVE-2015-8378: Canceling XML export operation creates export as ".xml"
- Auto-type and global auto-type functionality for OS X
- Enable retina display on OS X
---------------------------- ----------------------------
0.4.3 (2010-03-07) 0.4.3 (2010-03-07)
---------------------------- ----------------------------
@ -217,4 +226,4 @@
-fixed problem with hex. key files -fixed problem with hex. key files
-fixed problem with damaged file attachments after various entry operations -fixed problem with damaged file attachments after various entry operations
-fixed segmentation fault when using new icons with higher index -fixed segmentation fault when using new icons with higher index
-fixed error when saving empty databases -fixed error when saving empty databases

@ -20,7 +20,7 @@
<string>APPL</string> <string>APPL</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>KeePassX 0.4.3</string> <string>KeePassX 0.4.4</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>kpsx</string> <string>kpsx</string>
@ -29,10 +29,10 @@
<string>KeePassX</string> <string>KeePassX</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.4.3</string> <string>0.4.4</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.4.3</string> <string>0.4.4</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>KeePassX</string> <string>KeePassX</string>
@ -41,7 +41,7 @@
<string>6.0</string> <string>6.0</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.keepassx.keepassx</string> <string>com.apple.application-bundle</string>
<key>CFBundleDocumentTypes</key> <key>CFBundleDocumentTypes</key>
<array> <array>

@ -26,7 +26,7 @@
#define APP_CODE_NAME "keepassx" #define APP_CODE_NAME "keepassx"
#define APP_SHORT_FUNC "Password Manager" #define APP_SHORT_FUNC "Password Manager"
#define APP_LONG_FUNC "Cross Platform Password Manager" #define APP_LONG_FUNC "Cross Platform Password Manager"
#define APP_VERSION "0.4.3" #define APP_VERSION "0.4.4"
#define BUILTIN_ICONS 69 #define BUILTIN_ICONS 69

@ -120,6 +120,10 @@ QString QtStandardFileDialogs::saveFileDialog(QWidget* parent,QString title,QStr
ShowOverwriteWarning ? (QFileDialog::Option)0 : QFileDialog::DontConfirmOverwrite); ShowOverwriteWarning ? (QFileDialog::Option)0 : QFileDialog::DontConfirmOverwrite);
LastFilter=Filters.indexOf(SelectedFilter); LastFilter=Filters.indexOf(SelectedFilter);
//Dont't add an extension to the result if no file has been selected
if (filepath.isEmpty())
return filepath;
//Check whether the file has an extension which fits to the selected filter //Check whether the file has an extension which fits to the selected filter
QFileInfo file(filepath); QFileInfo file(filepath);
QString filename=file.fileName(); QString filename=file.fileName();

@ -24,6 +24,9 @@
#if defined(Q_WS_X11) && defined(GLOBAL_AUTOTYPE) #if defined(Q_WS_X11) && defined(GLOBAL_AUTOTYPE)
#include "Application_X11.h" #include "Application_X11.h"
#endif #endif
#ifdef Q_WS_WIN
#include <Windows.h>
#endif
#include "plugins/interfaces/IFileDialog.h" #include "plugins/interfaces/IFileDialog.h"
#include "plugins/interfaces/IKdeInit.h" #include "plugins/interfaces/IKdeInit.h"
@ -49,6 +52,12 @@ IIconTheme* IconLoader=NULL;
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
#ifdef Q_WS_WIN
// Make sure Windows doesn't load DLLs from the current working directory
SetDllDirectoryA("");
SetSearchPathMode(BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE);
#endif
setlocale(LC_CTYPE, ""); setlocale(LC_CTYPE, "");
#if defined(Q_WS_X11) && defined(AUTOTYPE) #if defined(Q_WS_X11) && defined(AUTOTYPE)