[asterisk-dev] [Code Review] 4194: ast_str: Fix improper member access to struct ast_str members.

rmudgett reviewboard at asterisk.org
Tue Nov 18 14:03:33 CST 2014


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

Review request for Asterisk Developers.


Repository: Asterisk


Description
-------

Accessing members of struct ast_str outside of the string manipulation API routines is invalid since struct ast_str is supposed to be opaque.


Diffs
-----

  /branches/11/res/res_calendar.c 428170 
  /branches/11/channels/sip/security_events.c 428170 
  /branches/11/channels/chan_sip.c 428170 

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


Testing
-------

Use of the DEBUG_OPAQUE define no longer produces compile errors with the patch.


Thanks,

rmudgett

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


More information about the asterisk-dev mailing list