[asterisk-bugs] [JIRA] (ASTERISK-27768) [patch] app_voicemail: Two variables may be uninitialized.
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Fri Mar 23 07:18:39 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242791#comment-242791 ]
Asterisk Team commented on ASTERISK-27768:
------------------------------------------
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].
> [patch] app_voicemail: Two variables may be uninitialized.
> ----------------------------------------------------------
>
> Key: ASTERISK-27768
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27768
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_voicemail
> Affects Versions: 15.3.0
> Reporter: Alexander Traud
> Severity: Minor
> Labels: patch
> Attachments: app_voicemail_init.patch
>
>
> {{./configure && make}} and Gentoo Linux 17.0 (GCC 6.4.0) reports:
> {code}warning: 'new' may be used uninitialized in this function [-Wmaybe-uninitialized]
> warning: 'old' may be used uninitialized in this function [-Wmaybe-uninitialized]{code}This does not happen, when optimization is level 2 or lower, like off. This does not happen in the alternative compiler _clang_ or GCC 7. It is just GCC 6 with (Asterisk's default of) -O3.
> Although the attached path fixes this, I am not happy with it. Therefore, it is not planned to submit that patch for review. Perhaps one day, I find the time to investigate what GCC is doing exactly. Especially because that happens only at -O3 and higher. -O2 and lower, everything is fine.
> ASTERISK-27580 is similar because that happens at -O3 only as well. However on this platform, ASTERISK-27580 does not happen at all. Go figure!
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list