diff options
| author | Xiangsheng Hou <[email protected]> | 2025-04-07 11:50:49 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-04-07 13:22:25 +0000 |
| commit | a94fd938df2b1628da66b498aa0eeb89593bc7a2 (patch) | |
| tree | 20c192400aa3ee173f89d1f767268e13b538a3f0 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | devpts: Fix type for uid and gid params (diff) | |
| download | kernel-a94fd938df2b1628da66b498aa0eeb89593bc7a2.tar.gz kernel-a94fd938df2b1628da66b498aa0eeb89593bc7a2.zip | |
virtiofs: add filesystem context source name check
In certain scenarios, for example, during fuzz testing, the source
name may be NULL, which could lead to a kernel panic. Therefore, an
extra check for the source name should be added.
Fixes: a62a8ef9d97d ("virtio-fs: add virtiofs filesystem")
Cc: <[email protected]> # all LTS kernels
Signed-off-by: Xiangsheng Hou <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
