[asterisk-bugs] [JIRA] (ASTERISK-26743) PJPROJECT: Detecting compiled max log level does not work.

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:12:24 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-26743:
-------------------------------------

    Target Release Version/s: 15.0.0

> PJPROJECT: Detecting compiled max log level does not work.
> ----------------------------------------------------------
>
>                 Key: ASTERISK-26743
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26743
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip, Resources/res_pjsip/Bundling
>    Affects Versions: GIT
>            Reporter: Richard Mudgett
>            Assignee: Richard Mudgett
>      Target Release: 13.14.0, 14.3.0, 15.0.0
>
>
> The mechanism used for detecting the maximum log level compiled into the linked pjproject does not work.  The API call simply stores the requested level into an integer and does no range checking.  Asterisk was assuming that there was range checking and limited the new value to the allowable range.  To get the actual maximum log level compiled into the linked pjproject we need to get and save off the initial set log level from pjproject.  This is the maximum log level supported.
> The issue was found because building Asterisk with TEST_FRAMEWORK enabled needed pjsua to build with a lower max log level enabled.



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



More information about the asterisk-bugs mailing list