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

rmudgett reviewboard at asterisk.org
Wed Nov 19 10:38:19 CST 2014


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

(Updated Nov. 19, 2014, 10:38 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 428244


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/20141119/120775ac/attachment.html>


More information about the asterisk-dev mailing list