From 5d4ebc30f8ca5d3ae40d805734c89bf42e62703f Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Wed, 21 Jan 2026 17:35:21 +0100 Subject: [PATCH] MT#59962 SdpOrigin: extend constructor To initialize `sessId` and `sessV` to 0 in case when they aren't given explicitly during the construction (e.g. via ther other concrete constructor). Closes Coverity CID 642745. Change-Id: I8abea03f079ed64a0a4127afaba61cad17473e82 --- core/AmSdp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmSdp.h b/core/AmSdp.h index 4771365c..277cafec 100644 --- a/core/AmSdp.h +++ b/core/AmSdp.h @@ -88,7 +88,7 @@ struct SdpOrigin __uint128_t sessV; SdpConnection conn; - SdpOrigin() : user(), conn() {} + SdpOrigin() : user(), conn(), sessId(0), sessV(0) {} SdpOrigin(const SdpOrigin& other) : user(other.user), sessId(other.sessId), sessV(other.sessV),