diff options
author | Jens Georg <mail@jensge.org> | 2012-02-13 11:01:02 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2012-02-13 11:01:02 +0200 |
commit | 10201e9ba59b2ea60bcb6fffce3c6d385d5caf75 (patch) | |
tree | 24e2d2823b3142ecf858bbbc744e722228cbd110 | |
parent | a798a6e0c00fa75d108ca5baaea5d29f479f204f (diff) | |
download | gupnp-av-10201e9ba59b2ea60bcb6fffce3c6d385d5caf75.tar.gz |
Fix possible dereference of NULL namespace
-rw-r--r-- | libgupnp-av/gupnp-didl-lite-writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgupnp-av/gupnp-didl-lite-writer.c b/libgupnp-av/gupnp-didl-lite-writer.c index 22112dd..7e01541 100644 --- a/libgupnp-av/gupnp-didl-lite-writer.c +++ b/libgupnp-av/gupnp-didl-lite-writer.c @@ -151,7 +151,7 @@ is_container_standard_prop (const char *name, const char *upnp_class) { return g_strcmp0 (upnp_class, "object.container.storageFolder") == 0 && - strcmp (namespace, "upnp") == 0 && + g_strcmp0 (namespace, "upnp") == 0 && strcmp (name, "storageUsed") == 0; } |