Commit: 7ffc08dd78d68eff15bb77e43efbc1b606fb4fd8
Parent: 12525371ef082483d524447310da7d0f5866bf91
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-07-10 17:15:34
Tree: 7e3349a3e53dd99e38d8962ea6ade1cc9fb5cf65

shared/vcp: prevent dereferencing of NULL pointers util_memdup() will terminate the program if memory allocation fails. Found with the SVACE static analysis tool.

Diffstat

M src/shared/vcp.c | 20 ++++- - - - - - - - - - - - - - - -

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

View Full Diff | Patch