Commit: 6f8b3544b95e21c46521ba071d16fb4ac10ae5d8
Parent: c18e3bf92e048e44cbeb36846fe26a300dcc6be6
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-01-13 23:15:21
Tree: 67ce9297792591d7a44c0b9e59f0be3356506672

shared/bap: Fix scan-build warning This fixes the following warning: src/shared/bap.c:2268:26: warning: Access to field 'iov_len' results in a dereference of a null pointer (loaded from variable 'cont') return iov_append(data, cont->iov_len, cont->iov_base); ^~~~~~~~~~~~~

Diffstat

M src/shared/bap.c | 6 ++++++

1 files changed, 6 insertions(+), 0 deletions(-)

View Full Diff | Patch