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

2022-08-10 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Aug 1, 2022 at 1:08 PM André Almeida wrote: > > Às 00:46 de 30/07/22, Sebin Sebastian escreveu: > > Fix a double free and an uninitialized pointer read error. Both tmp and > > new are pointing at same address and both are freed which leads to > > double free. Addin

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

2022-08-01 Thread André Almeida
Às 00:46 de 30/07/22, Sebin Sebastian escreveu: > Fix a double free and an uninitialized pointer read error. Both tmp and > new are pointing at same address and both are freed which leads to > double free. Adding a check to verify if new and tmp are free in the > error_free label fixes the double f

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

2022-07-30 Thread Sebin Sebastian
Fix a double free and an uninitialized pointer read error. Both tmp and new are pointing at same address and both are freed which leads to double free. Adding a check to verify if new and tmp are free in the error_free label fixes the double free issue. new is not initialized to null which also lea