Commit: 8a22c17bc9960772a1baab310a7cc0a60ab4763e
Parent: 1b961b9e15c6de1cf96de29ed16d0008b9c64c5d
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-07-03 17:47:24
Tree: 3011f8d212cfc4abf2431f2e666b62a7289a2aaf

shared/bap: prevent dereferencing of NULL pointers in ascs_ase_read() If the user_data argument is NULL, a NULL pointer will be dereferenced. It is necessary to prevent this case. Found with the SVACE static analysis tool.

Diffstat

M src/shared/bap.c | 13 +++++++++- - - -

1 files changed, 9 insertions(+), 4 deletions(-)

View Full Diff | Patch