[PATCHv2 -next] drm/amdgpu: double free error and freeing uninitialized null pointer

2022-07-30 Thread Sebin Sebastian
leads to a free on an uninitialized pointer. Suggested by: S. Amaranath Signed-off-by: Sebin Sebastian --- Changes in v2: Updated patch body as suggested by André Almeida Reworked to implement a check in error_free for fixing double free error as suggested by S. Amaranath drivers/gpu/drm/amd

Re: [PATCH -next] drm/amdgpu: double free error and freeing uninitialized null pointer

2022-07-18 Thread Sebin Sebastian
On Fri, Jul 15, 2022 at 01:48:56PM +0530, Somalapuram, Amaranath wrote: > > On 7/14/2022 9:13 PM, André Almeida wrote: > > Às 12:06 de 14/07/22, Sebin Sebastian escreveu: > > > On Tue, Jul 12, 2022 at 12:14:27PM -0300, André Almeida wrote: > > > > Hi Sebin, >

Re: [PATCH -next] drm/amdgpu: double free error and freeing uninitialized null pointer

2022-07-14 Thread Sebin Sebastian
On Tue, Jul 12, 2022 at 12:14:27PM -0300, André Almeida wrote: > Hi Sebin, > > Às 10:29 de 10/07/22, Sebin Sebastian escreveu: > > Fix two coverity warning's double free and and an uninitialized pointer > > read. Both tmp and new are pointing at same address and both ar

[PATCH -next] drm/amdgpu: double free error and freeing uninitialized null pointer

2022-07-11 Thread Sebin Sebastian
null which also leads to a free on an uninitialized pointer. Coverity issue: 1518665 (uninitialized pointer read) 1518679 (double free) Signed-off-by: Sebin Sebastian --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-)