mbox series

[0/2] Fix double free bugs in nfcmrvl module

Message ID cover.1649759498.git.duoming@zju.edu.cn (mailing list archive)
Headers show
Series Fix double free bugs in nfcmrvl module | expand

Message

Duoming Zhou April 12, 2022, 10:56 a.m. UTC
We add lock and check in fw_dnld_over() in order to synchronize
among different threads that call fw_dnld_over(). The first patch
fixes double free bugs caused by fw_dnld_over() and the second patch
fixes double free bug in nfc_fw_download_done().

Duoming Zhou (2):
  drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over()
  drivers: nfc: nfcmrvl: fix double free bug in nfc_fw_download_done()

 drivers/nfc/nfcmrvl/fw_dnld.c | 8 +++++++-
 drivers/nfc/nfcmrvl/fw_dnld.h | 2 ++
 2 files changed, 9 insertions(+), 1 deletion(-)