[Version] Release 0.10.35
[Profile] Common
[Issue Type] Security
Change-Id: Ib629a75aecac65ece6ef0225ee32f78812fc6df3
pfd.fd = fd_FOCUS_R;
pfd.events = POLLIN;
+ pfd.revents = 0;
/*********************************************
*
pfd.fd = fd_FOCUS_R;
pfd.events = POLLIN;
+ pfd.revents = 0;
/*********************************************
*
static int _get_sender_pid(GDBusMethodInvocation* invocation)
{
GVariant* value;
- guint pid;
+ guint pid = 0;
const gchar* sender;
GDBusConnection * connection = NULL;
GError* err = NULL;
pa_channel_map maps;
pa_buffer_attr attr;
- int prop_vol_type, prop_gain_type = VOLUME_GAIN_DEFAULT;
+ int prop_vol_type = 0;
+ int prop_gain_type = VOLUME_GAIN_DEFAULT;
int err = MM_ERROR_SOUND_INTERNAL;
int period_time = PA_SIMPLE_PERIOD_TIME_FOR_MID_LATENCY_MSEC;
}
handle = (mm_sound_handle_t*)malloc(sizeof(mm_sound_handle_t));
-
+ memset(handle, 0, sizeof(mm_sound_handle_t));
handle->mode = mode;
handle->policy = policy;
handle->volume_type = prop_vol_type;
Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.10.34
+Version: 0.10.35
Release: 0
Group: System/Libraries
License: Apache-2.0
static int _get_sender_pid(GDBusMethodInvocation* invocation)
{
GVariant* value;
- guint pid;
+ guint pid = 0;
const gchar* sender;
GDBusConnection * connection = NULL;
GError* err = NULL;