sensord: allocate buf memory for string attribute
[platform/core/system/sensord.git] / src / shared / command_types.h
index 34cb5fc..d28107d 100644 (file)
@@ -88,7 +88,7 @@ typedef struct  {
        int listener_id;
        int attribute;
        int len;
-       char value[0];
+       char *value;
 } cmd_listener_attr_str_t;
 
 typedef struct {