Fix SVACE defects : OP_PRECEDENCE_ASSIGN_CMP 79/197979/1
authorSeungbae Shin <seungbae.shin@samsung.com>
Thu, 17 Jan 2019 10:52:33 +0000 (19:52 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Thu, 17 Jan 2019 10:52:33 +0000 (19:52 +0900)
[Version] 0.12.35
[Issue Type] Security vulnerability

Change-Id: I594c7f33c95500141c27d830b9b4cbb92b10f87f

mm_sound_proxy.c
packaging/libmm-sound.spec

index fb65ec8..0351640 100644 (file)
@@ -41,7 +41,7 @@ static int _notify_subscription(audio_event_t event, uint32_t subs_id, gboolean
 
        debug_fenter();
 
-       if ((ret = mm_sound_dbus_get_event_name(event, &event_name) != MM_ERROR_NONE)) {
+       if ((ret = mm_sound_dbus_get_event_name(event, &event_name)) != MM_ERROR_NONE) {
                debug_error("Failed to get event name");
                return MM_ERROR_SOUND_INTERNAL;
        }
@@ -66,7 +66,7 @@ static int _notify_signal_handled(audio_event_t event, uint32_t event_id, uint32
 
        debug_fenter();
 
-       if ((ret = mm_sound_dbus_get_event_name(event, &event_name) != MM_ERROR_NONE)) {
+       if ((ret = mm_sound_dbus_get_event_name(event, &event_name)) != MM_ERROR_NONE) {
                debug_error("Failed to get event name");
                return MM_ERROR_SOUND_INTERNAL;
        }
index 83a5314..dabfff7 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.12.34
+Version:    0.12.35
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0