[Home]

Summary:ASTERISK-26308: compilation failed with -Werror=maybe-uninitialized
Reporter:Alexei Gradinari (alexei gradinari)Labels:
Date Opened:2016-08-19 10:21:26Date Closed:2017-10-16 12:30:08
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:13.10.0-rc1 13.11.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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}
Comments:By: Asterisk Team (asteriskteam) 2016-08-19 10:21:26.670-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].