Commit 6515b7b1 authored by Ruffalo Lavoisier's avatar Ruffalo Lavoisier Committed by Greg Kroah-Hartman
Browse files

comedi: ni_routing: tools: Check when the file could not be opened



[ Upstream commit 5baeb157 ]

- After fopen check NULL before using the file pointer use

Signed-off-by: default avatarRuffalo Lavoisier <RuffaloLavoisier@gmail.com>
Link: https://lore.kernel.org/r/20240906203025.89588-1-RuffaloLavoisier@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 98d5873e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment