]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
D-Bus: Increase introspection buffer size
authorJouni Malinen <j@w1.fi>
Sat, 16 May 2020 18:46:24 +0000 (21:46 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 16 May 2020 18:46:24 +0000 (21:46 +0300)
It was apparently possible to hit the 20000 octet limit in some cases,
so increase the limit to avoid process termination due to insufficient
room for preparing a response to Introspect calls.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_introspect.c

index aee105b4b54c8ec4f727bbb83f018329662896d4..6c721bf556db26c28de29aa4c17549834c04d60b 100644 (file)
@@ -257,7 +257,7 @@ DBusMessage * wpa_dbus_introspect(DBusMessage *message,
        DBusMessage *reply;
        struct wpabuf *xml;
 
-       xml = wpabuf_alloc(20000);
+       xml = wpabuf_alloc(30000);
        if (xml == NULL)
                return NULL;