diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c index 77467f00a..a0d151d7a 100644 --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c @@ -5519,6 +5519,9 @@ static const struct global_parse_data global_fields[] = { { INT_RANGE(pasn_corrupt_mic, 0, 1), 0 }, #endif /* CONFIG_TESTING_OPTIONS */ #endif /* CONFIG_PASN */ + /* NOTE: When adding new parameters here, add_interface() in + * wpa_supplicant/dbus_new_introspect.c may need to be modified to + * increase the size of the iface->xml buffer. */ }; #undef FUNC diff --git a/wpa_supplicant/dbus/dbus_new_introspect.c b/wpa_supplicant/dbus/dbus_new_introspect.c index 6c721bf55..a8c0d2839 100644 --- a/wpa_supplicant/dbus/dbus_new_introspect.c +++ b/wpa_supplicant/dbus/dbus_new_introspect.c @@ -38,7 +38,7 @@ static struct interfaces * add_interface(struct dl_list *list, if (!iface) return NULL; iface->dbus_interface = os_strdup(dbus_interface); - iface->xml = wpabuf_alloc(15000); + iface->xml = wpabuf_alloc(16000); if (iface->dbus_interface == NULL || iface->xml == NULL) { os_free(iface->dbus_interface); wpabuf_free(iface->xml);