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

shared/bap: move checks for NULL before dereferencing It is necessary to prevent dereferencing of NULL pointers. Found with the SVACE static analysis tool.

Diffstat

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

1 files changed, 7 insertions(+), 5 deletions(-)

View Full Diff | Patch