0.20.3: fix two GLib-CRITICAL warnings on strange input
Submitted by Thomas Klausner
Assigned to GUPnP Maintainers
Created attachment 294964 Patch fixing the problem.
libgupnp/gupnp-control-point's parse_usn function prints two GLib-CRITICAL warnings on weird input. The attached patch fixes these.
The issue is that the second part of the string could be the empty string "" and g_strsplit reports an assertion failure string != NULL, and then g_strv_length reports a second assertion for str_array != NULL.
The attached patch fixes this.
Patch 294964, "Patch fixing the problem.":