mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
Merge "ASoC: msm: q6dspv2: fix potentional information leak"
This commit is contained in:
commit
18ebb80fcc
1 changed files with 2 additions and 2 deletions
|
@ -313,12 +313,12 @@ static void config_debug_fs_write(struct audio_buffer *ab)
|
|||
}
|
||||
static void config_debug_fs_init(void)
|
||||
{
|
||||
out_buffer = kmalloc(OUT_BUFFER_SIZE, GFP_KERNEL);
|
||||
out_buffer = kzalloc(OUT_BUFFER_SIZE, GFP_KERNEL);
|
||||
if (out_buffer == NULL) {
|
||||
pr_err("%s: kmalloc() for out_buffer failed\n", __func__);
|
||||
goto outbuf_fail;
|
||||
}
|
||||
in_buffer = kmalloc(IN_BUFFER_SIZE, GFP_KERNEL);
|
||||
in_buffer = kzalloc(IN_BUFFER_SIZE, GFP_KERNEL);
|
||||
if (in_buffer == NULL) {
|
||||
pr_err("%s: kmalloc() for in_buffer failed\n", __func__);
|
||||
goto inbuf_fail;
|
||||
|
|
Loading…
Reference in a new issue