]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_format_attr_opus: Fix crash when fmtp contains spaces. 81/4581/1
authorJoshua Colp <jcolp@digium.com>
Tue, 15 Nov 2016 00:18:21 +0000 (00:18 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 8 Dec 2016 11:48:23 +0000 (11:48 +0000)
commitd27eae001d58f1782bc3d8691f2c0dfbadad4563
tree54219606349a021db06f50c47a844917857a8055
parent4fc3b0a5aa5d4ba5151ad058e89274c37bae2787
res_format_attr_opus: Fix crash when fmtp contains spaces.

When an opus offer or answer was received that contained an
fmtp line with spaces between the attributes the module would
fail to properly parse it and crash due to recursion.

This change makes the module handle the space properly and
also removes the recursion requirement.

ASTERISK-26579

Change-Id: I01f53e5d9fa9f1925a7365f8d25071b5b3ac2dc3
res/res_format_attr_opus.c