Skip to content

Commit

Permalink
do not log the results of method calls by default (bnc#790274)
Browse files Browse the repository at this point in the history
the results might contain sensitive data (like passwords, keys,
registration codes...)

- 2.17.5

Conflicts:

	VERSION
	package/yast2-dbus-server.changes
  • Loading branch information
Ladislav Slezak committed Dec 7, 2012
1 parent 0a21fa5 commit 4f6b7be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.22.1
2.23.0
8 changes: 8 additions & 0 deletions package/yast2-dbus-server.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Dec 7 12:56:15 UTC 2012 - lslezak@suse.cz

- do not log the results of method calls by default (use y2debug),
the results might contain sensitive data (like passwords, keys,
registration codes...) (bnc#790274)
- 2.23.0

-------------------------------------------------------------------
Tue Mar 20 12:45:43 CET 2012 - aschnell@suse.de

Expand Down
2 changes: 1 addition & 1 deletion src/services/SCR_service/DBusServer.cc
Expand Up @@ -184,7 +184,7 @@ DBusMsg DBusServer::handler(const DBusMsg &request)

if (!ret.isNull())
{
y2milestone("Result: %s", ret->toString().c_str());
y2debug("Result: %s", ret->toString().c_str());
reply.addYCPValue(ret);
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/services/namespace_service/src/DBusModulesServer.cc
Expand Up @@ -529,7 +529,7 @@ DBusMsg DBusModulesServer::handler(const DBusMsg &request)

if (!ret.isNull())
{
y2milestone("Result: %s", ret->toString().c_str());
y2debug("Result: %s", ret->toString().c_str());

// return empty message for void functions
if (!ret->isVoid())
Expand Down

0 comments on commit 4f6b7be

Please sign in to comment.