]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CallerID: Fix parsing of malformed callerid
authorKinsey Moore <kmoore@digium.com>
Wed, 27 Aug 2014 15:31:35 +0000 (15:31 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 27 Aug 2014 15:31:35 +0000 (15:31 +0000)
commita4a58c2771928ac6e2cd0ca1e1f41c28b901fa13
treec018eecb1ac01938f91e701bdfff44215a09b9b3
parente985cb076d22a2434d016707e674afbc48957a4c
CallerID: Fix parsing of malformed callerid

This allows the callerid parsing function to handle malformed input
strings and strings containing escaped and unescaped double quotes.
This also adds a unittest to cover many of the cases where the parsing
algorithm previously failed.

Review: https://reviewboard.asterisk.org/r/3923/
Review: https://reviewboard.asterisk.org/r/3933/
........

Merged revisions 422112 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 422113 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 422114 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@422154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
include/asterisk/utils.h
main/callerid.c
main/utils.c
res/res_pjsip_caller_id.c
tests/test_callerid.c [new file with mode: 0644]
tests/test_utils.c