[asterisk-dev] [Code Review] 3101: rasterisk needlessly prints the AST-2013-007 warning

Tzafrir Cohen reviewboard at asterisk.org
Fri Jan 3 13:14:34 CST 2014


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

Review request for Asterisk Developers.


Bugs: ASTERISK-23084
    https://issues.asterisk.org/jira/browse/ASTERISK-23084


Repository: Asterisk


Description
-------

Even since the fixes of AST-2013-007, Asterisk prints the following warning on startup if the user decided to live dangerously:

Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.

I believe that this warning is intended to be one-time and thus makes no sense when asterisk is run as a remote terminal. It certainly makes no sense when Asterisk is run to issue a remote command (asterisk -rx). This patch disables the warning on those two cases.


Diffs
-----

  /branches/1.8/main/asterisk.c 404783 

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


Testing
-------

Checked with asterisk 11


Thanks,

Tzafrir Cohen

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


More information about the asterisk-dev mailing list