diff options
author | Guy Harris <gharris@sonic.net> | 2020-11-13 19:18:23 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-11-13 19:18:23 -0800 |
commit | c2bd3bc487bb16d394201fb2948f83c7dad70e15 (patch) | |
tree | de0f27da091a8cce43bfaf67a1f3bc1c11fd7153 /epan/dissectors/packet-xml.c | |
parent | 08d7e14cdd87e8892e09a135c1ec4ed4e4f55be3 (diff) |
xml: fix list of default media types for XML.
One entry in the list of strings didn't have the comma at the end, so
the entry after it was concatenated with it, forming a bogus entry and
causing neither "application/vnd.3gpp.mcptt-info+xml" nor
"application/vnd.3gpp.mid-call+xml" to be recognized by media type as
XML.
Should resolve Coverity CID 1355680.
Diffstat (limited to 'epan/dissectors/packet-xml.c')
-rw-r--r-- | epan/dissectors/packet-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c index 00a8e8b3d5..5391561384 100644 --- a/epan/dissectors/packet-xml.c +++ b/epan/dissectors/packet-xml.c @@ -174,7 +174,7 @@ static const gchar *default_media_types[] = { "application/vnd.3gpp.cw+xml", "application/vnd.3gpp.iut+xml", /*3GPP TS 24.337*/ "application/vnc.3gpp.iut-config+xml", /*3GPP TS 24.337*/ - "application/vnd.3gpp.mcptt-info+xml" + "application/vnd.3gpp.mcptt-info+xml", "application/vnd.3gpp.mid-call+xml", "application/vnd.3gpp-prose-pc3ch+xml", "application/vnd.3gpp-prose+xml", |