lkml.org 
[lkml]   [2021]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Need help in debugging "memory leak in em28xx_init_dev"
From
On 11/1/21 11:55, Dongliang Mu wrote:

>>
>>
>> Looks like missing clean up on error handling path.
>>
>> ->probe()
>> em28xx_init_dev()
>> em28xx_media_device_init() <- dev->media_dev allocated
>> *error somewhere in em28xx_init_dev()*
>>
>
> Hi Pavel,
>
> you're right. In some error handling code (em28xx_audio_setup fails),
> em28xx_init_dev fails to deallocated the media_dev field.
>

Hi, Dongliang,

Did patch attached to my previous email pass syzbot's reproducer test?
Unfortunately, I am not able to test rn :(




With regards,
Pavel Skripkin

\
 
 \ /
  Last update: 2021-11-01 10:21    [W:0.058 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site