Repository :
http://git.fedorahosted.org/cgit/firewalld-recode.git
On branch : master
---------------------------------------------------------------
commit ea74f13e454807cc877af497900a4d30685482a9
Author: Daniel Kopecek <dkopecek(a)redhat.com>
Date: Mon Nov 24 15:36:28 2014 +0100
Disable broken code in DBusResultBuilder
---------------------------------------------------------------
src/Daemon/DBus.hpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/Daemon/DBus.hpp b/src/Daemon/DBus.hpp
index 9592e47..5e023ef 100644
--- a/src/Daemon/DBus.hpp
+++ b/src/Daemon/DBus.hpp
@@ -459,6 +459,7 @@ namespace firewalld
break;
case ValueType::Unknown:
LOG(DEBUG) << "Unknown";
+#if 0 /* XXX: this is causing exceptions with empty results */
if (!_value_signature.empty()) {
GVariant *g_array = g_variant_new(_value_signature.c_str(), nullptr);
LOG(DEBUG) << "Add empty variant of type " << _value_signature;
@@ -468,6 +469,8 @@ namespace firewalld
} else {
return false;
}
+#endif
+ return false;
break;
case ValueType::Error:
default: