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

Alexei Gradinari (JIRA) noreply at issues.asterisk.org
Fri Aug 19 10:21:57 CDT 2016


Alexei Gradinari created ASTERISK-26308:
-------------------------------------------

             Summary: 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 
    --enable DONT_OPTIMIZE
    --enable BETTER_BACKTRACES
    --enable DO_CRASH
    --enable TEST_FRAMEWORK

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





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



More information about the asterisk-bugs mailing list