[asterisk-dev] [Code Review] 3923: CallerID: Fix parsing of malformed callerid strings

opticron reviewboard at asterisk.org
Mon Aug 25 15:50:31 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3923/
-----------------------------------------------------------

(Updated Aug. 25, 2014, 3:50 p.m.)


Review request for Asterisk Developers.


Changes
-------

Address Richard's comments.


Repository: Asterisk


Description
-------

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.


Diffs (updated)
-----

  branches/1.8/tests/test_utils.c 421975 
  branches/1.8/tests/test_callerid.c PRE-CREATION 
  branches/1.8/main/utils.c 421975 
  branches/1.8/main/callerid.c 421975 
  branches/1.8/include/asterisk/utils.h 421975 
  branches/1.8/channels/chan_sip.c 421975 

Diff: https://reviewboard.asterisk.org/r/3923/diff/


Testing
-------

Ran the unittest.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140825/2ad4c9b3/attachment.html>


More information about the asterisk-dev mailing list