D-Bus: Increase introspection buffer size
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>
This commit is contained in:
parent
79488da576
commit
4294d221d3
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ DBusMessage * wpa_dbus_introspect(DBusMessage *message,
|
||||||
DBusMessage *reply;
|
DBusMessage *reply;
|
||||||
struct wpabuf *xml;
|
struct wpabuf *xml;
|
||||||
|
|
||||||
xml = wpabuf_alloc(20000);
|
xml = wpabuf_alloc(30000);
|
||||||
if (xml == NULL)
|
if (xml == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue