Re: [PATCH v2 0/2] bus: fsl-mc: Fix two double free problems in fsl_mc_device_add()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 15, 2024 at 10:32:05AM +0800, Su Hui wrote:
> This patchset fixes two double free problems in fsl_mc_device_add().
> One is reported by clang static checker, another is reported by Dan when
> reviewing the code.
> 
> ps: There is only patch 1 in v1 patch, patch 2 has no v1 version.
> 
> v1: https://lore.kernel.org/all/20241114082751.3475110-1-suhui@xxxxxxxxxxxx/
> 
> Su Hui (2):
>   bus: fsl-mc:  Fix the double free in fsl_mc_device_add()
>   bus: fsl-mc: using put_device() when add_device() failed in
>     fsl_mc_device_add()

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux