diff options
| author | SunJianHao <24031212195@stu.xidian.edu.cn> | 2026-04-03 21:12:05 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-05 19:58:40 -0500 |
| commit | 53cf44fa727113affda4a17207a54e0d27c7fc78 (patch) | |
| tree | 177b70d40fc2395af841f02b148558d5b8b81147 /rust/kernel/gpu/git@git.tavy.me:linux-stable.git | |
| parent | b3f5c2a41a0d0d2efbfb4dcdcdc086856562b28b (diff) | |
smb/client: avoid null-ptr-deref when tests fail in test_cmp_map()
Use KUNIT_ASSERT_NOT_NULL() to abort the test cases on failure.
Reported-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: SunJianHao <24031212195@stu.xidian.edu.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel/gpu/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
