https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/83d2e85f490ea97e4ae94b95f20dd06566a14c31 From 83d2e85f490ea97e4ae94b95f20dd06566a14c31 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 20 Apr 2023 12:32:07 +0200 Subject: [PATCH] parser: add extra check to make coverity happy Fixes !1473 --- a/spa/include/spa/pod/parser.h +++ b/spa/include/spa/pod/parser.h @@ -455,7 +455,7 @@ static inline int spa_pod_parser_getv(struct spa_pod_parser *parser, va_list arg const struct spa_pod *pod = NULL; const char *format; - if (ftype == SPA_TYPE_Object) { + if (f && ftype == SPA_TYPE_Object) { uint32_t key = va_arg(args, uint32_t); const struct spa_pod_object *object; -- GitLab