diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-29 14:55:20 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-29 14:55:20 +0000 |
commit | 745254183c226e5db0caa566ad496d2f0192182e (patch) | |
tree | 467b282ce4e90dba6837dd9d631b6c9082463274 /media/webrtc/signaling | |
parent | c76214f0b54cf74b69d0fb4afa0d2eca2e898a98 (diff) | |
parent | e1daeef18312a0cb17eda6bed7f363d8748ed4a3 (diff) | |
download | UXP-745254183c226e5db0caa566ad496d2f0192182e.tar UXP-745254183c226e5db0caa566ad496d2f0192182e.tar.gz UXP-745254183c226e5db0caa566ad496d2f0192182e.tar.lz UXP-745254183c226e5db0caa566ad496d2f0192182e.tar.xz UXP-745254183c226e5db0caa566ad496d2f0192182e.zip |
Merge branch 'master' into release
Diffstat (limited to 'media/webrtc/signaling')
-rw-r--r-- | media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c b/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c index e3afa2637..b1c7f0faa 100644 --- a/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c +++ b/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c @@ -2825,7 +2825,7 @@ sdp_result_e sdp_parse_attr_cpar (sdp_t *sdp_p, sdp_attr_t *attr_p, sdp_mca_t *cap_p; sdp_attr_t *cap_attr_p = NULL; sdp_attr_t *prev_attr_p; - char tmp[SDP_MAX_STRING_LEN]; + char tmp[SDP_MAX_STRING_LEN] = {0}; /* Make sure we've processed a valid X-cap/cdsc attr prior to this and * if so, get the cap pointer. */ @@ -2882,8 +2882,8 @@ sdp_result_e sdp_parse_attr_cpar (sdp_t *sdp_p, sdp_attr_t *attr_p, if ((result != SDP_SUCCESS) || (tmp[0] != 'a') || (tmp[1] != '\0')) { sdp_parse_error(sdp_p, - "%s Warning: Invalid token type (%s) in %s " - "attribute, unable to parse", sdp_p->debug_str, tmp, + "%s Warning: Invalid token type in %s " + "attribute, unable to parse", sdp_p->debug_str, sdp_get_attr_name(attr_p->type)); sdp_p->conf_p->num_invalid_param++; return (SDP_INVALID_PARAMETER); |