When in xml is empty argument, all versions of libupnp
(upnpsdk too) collapses and ends with SIGSEGV. I don't
know, if it is valid xml or not, but Micorosoft's ICS
sends this, so we need to handle it.
this can be solved with this patch to ixml/src/ixmplarser.c
2343a2344,2346
> }else { //empty atribute like a="", this is
accessed
on other places, so there must be something
> node->nodeValue = malloc(sizeof(char));
> *(node->nodeValue) = '\0';
2345c2348
< // if attribute doesn't have value, like
a="", fine
---
>
Logged In: YES
user_id=1404737
Its not clear where that has to be added. Please submit a
patch or some more detailed information to the successor
project "Portable UPnP" at http://pupnp.sf.net
Logged In: YES
user_id=1477005
the same diff in patch file
patch file
Logged In: YES
user_id=1404737
Added to portable libupnp, please see http://pupnp.sf.net