Signed-off-by: Michal Eljasiewicz <m.eljasiewic@samsung.com>
Change-Id: Id0527a832cbaabda89b7e0f7a328ef0cde03aef5
#--enable-developer --enable-verbose-mode
if $run_configure; then
- $srcdir/configure --enable-abstract-sockets --config-cache "$@" || exit $?
+ $srcdir/configure --enable-abstract-sockets --config-cache --enable-doxygen-docs=no "$@" || exit $?
echo
echo "Now type 'make' to compile $PROJECT."
else
static dbus_bool_t bus_register_kdbus(char* name, DBusTransportKdbus* transportS)
{
struct kdbus_cmd_hello __attribute__ ((__aligned__(8))) hello;
+ memset(&hello, 0, sizeof(hello));
hello.conn_flags = KDBUS_HELLO_ACCEPT_FD/* |
KDBUS_HELLO_ATTACH_COMM |
memset(p, 0, size);
p->size = size;
p->type = KDBUS_ITEM_POLICY_NAME;
- strcpy(p->policy.name, name);
+ memcpy(p->policy.name, name, strlen(name) + 1);
return p;
}