[Pkg-owncloud-commits] [owncloud-client] 68/333: OwncloudCmd: Struct needs to be zeroed
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 6a55324261d76a044e775b18f45966a3751f231c
Author: Markus Goetz <markus at woboq.com>
Date: Wed Feb 19 17:50:15 2014 +0100
OwncloudCmd: Struct needs to be zeroed
Else the --silent was always true on Windows where memory did not get
zeroed.
---
src/owncloudcmd/owncloudcmd.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index a053378..1b301dd 100644
--- a/src/owncloudcmd/owncloudcmd.cpp
+++ b/src/owncloudcmd/owncloudcmd.cpp
@@ -139,7 +139,7 @@ void parseOptions( const QStringList& app_args, CmdOptions *options )
int main(int argc, char **argv) {
QCoreApplication app(argc, argv);
- CmdOptions options;
+ CmdOptions options = {};
ClientProxy clientProxy;
parseOptions( app.arguments(), &options );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list