[asterisk-bugs] [JIRA] (ASTERISK-27359) pjproject bundled: Don't disable assertions when --enable-dev-mode is used.

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Oct 19 09:33:20 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239464#comment-239464 ] 

Richard Mudgett commented on ASTERISK-27359:
--------------------------------------------

I mean the assertions are used improperly.  Assertions are supposed to indicate that something should never happen.  However, the assertions trigger for normal error cases that should return an error code and not abort the program.

> pjproject bundled: Don't disable assertions when --enable-dev-mode is used.
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-27359
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27359
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.17.2, GIT, 15.0.0
>            Reporter: Corey Farrell
>            Severity: Minor
>
> This would help catch some potential misuse of pjproject functions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list