[asterisk-bugs] [JIRA] (ASTERISK-26308) compilation failed with -Werror=maybe-uninitialized

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Oct 16 12:30:21 CDT 2017


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

Corey Farrell closed ASTERISK-26308.
------------------------------------

    Resolution: Fixed

> compilation failed with -Werror=maybe-uninitialized
> ---------------------------------------------------
>
>                 Key: ASTERISK-26308
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26308
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.10.0-rc1, 13.11.0
>            Reporter: Alexei Gradinari
>
> The compilation failed for devmode 
> {quote}
>     --enable DONT_OPTIMIZE
>     --enable BETTER_BACKTRACES
>     --enable DO_CRASH
>     --enable TEST_FRAMEWORK
> {quote}
> {quote}
> res_pjsip/pjsip_configuration.c: In function ‘dtls_handler’:
> res_pjsip/pjsip_configuration.c:974:20: error: ‘back’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    int size = strlen(front);
>                     ^
> cc1: all warnings being treated as errors
> {quote}



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



More information about the asterisk-bugs mailing list