[gupnp-av] Fix possible dereference of NULL namespace
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-av] Fix possible dereference of NULL namespace
- Date: Sun, 18 Mar 2012 19:52:35 +0000 (UTC)
commit 10201e9ba59b2ea60bcb6fffce3c6d385d5caf75
Author: Jens Georg <mail jensge org>
Date: Mon Feb 13 11:01:02 2012 +0200
Fix possible dereference of NULL namespace
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]