Attention is currently required from: neels, pespin.
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/30111 )

Change subject: fix sdp_msg_to_sdp_str(), never add fmtp for unset codec
......................................................................


Patch Set 1: Code-Review+1

(1 comment)

File src/libmsc/sdp_msg.c:

https://gerrit.osmocom.org/c/osmo-msc/+/30111/comment/4309fc95_0ff23a4f
PS1, Line 271:          if (!sdp_audio_codec_is_set(codec))
> Isn't sdp_audio_codec_is_set() implemented by checking codec->subtype_name[0] 
> like before? what's ch […]
the previous code did not check if codec->subtype was a valid pointer at all, 
and unconditionally dereferenced it.  The new code is now checkign for a valid 
pointer, and whether the first character is non-NUL.



--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/30111
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I1892efd9360585f98419ebbd0df180f7f3a8160d
Gerrit-Change-Number: 30111
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-Attention: neels <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Comment-Date: Mon, 14 Nov 2022 19:38:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <[email protected]>
Gerrit-MessageType: comment

Reply via email to