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

rmudgett reviewboard at asterisk.org
Tue Aug 26 12:12:29 CDT 2014


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

Ship it!



branches/1.8/main/callerid.c
<https://reviewboard.asterisk.org/r/3923/#comment23649>

    Probably should have a comment stating what case this quote stripping is being done to handle.


- rmudgett


On Aug. 25, 2014, 8:08 p.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3923/
> -----------------------------------------------------------
> 
> (Updated Aug. 25, 2014, 8:08 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> 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
> -----
> 
>   branches/1.8/tests/test_utils.c 421534 
>   branches/1.8/tests/test_callerid.c PRE-CREATION 
>   branches/1.8/main/utils.c 421534 
>   branches/1.8/main/callerid.c 421534 
>   branches/1.8/include/asterisk/utils.h 421534 
>   branches/1.8/channels/chan_sip.c 421534 
> 
> 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/20140826/2095664a/attachment.html>


More information about the asterisk-dev mailing list