aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2022-07-22 11:17:18 +0800
committerManivannan Sadhasivam <[email protected]>2022-08-29 22:33:46 +0530
commitacc5495bf764e7e441193f972d96c5d2887f6b8b (patch)
tree72246b9fa6efd5dd31da442a1fd733a601b90377 /lib/test_fortify/write_overflow-strncpy-src.c
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
bus: mhi: host: Fix up null pointer access in mhi_irq_handler
The irq handler for a shared IRQ ought to be prepared for running even now it's being freed. So let's check the pointer used by mhi_irq_handler to avoid null pointer access since it is probably released before freeing IRQ. Fixes: 1227d2a20cd7 ("bus: mhi: host: Move IRQ allocation to controller registration phase") Signed-off-by: Qiang Yu <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Tested-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mani: added fixes tag] Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions