$NetBSD: patch-ab,v 1.3 2015/01/25 07:43:13 wiz Exp $ More defensive programming. https://bugzilla.gnome.org/show_bug.cgi?id=743233 --- libgupnp/gupnp-control-point.c.orig 2014-05-31 07:49:41.000000000 +0000 +++ libgupnp/gupnp-control-point.c @@ -692,7 +692,7 @@ parse_usn (const char *usn, /* Count elements */ count = g_strv_length (bits); - if (count == 1) { + if (count == 1 || (count == 2 && strlen(bits[1]) == 0)) { /* uuid:device-UUID */ *udn = bits[0];