[asterisk-bugs] [JIRA] (ASTERISK-28628) Debian 10.2: Warning when app_voicemail is compiling

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Nov 25 02:56:32 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248864#comment-248864 ] 

Asterisk Team commented on ASTERISK-28628:
------------------------------------------

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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> Debian 10.2: Warning when app_voicemail is compiling
> ----------------------------------------------------
>
>                 Key: ASTERISK-28628
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28628
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 13.29.2
>         Environment: OS: Debian 10.2
> GCC: gcc (Debian 8.3.0-6) 8.3.0
> kernel: 4.19.0-6-amd64 (4.19.67-2+deb10u2 (2019-11-11) x86_64)
>            Reporter: Stanislav Abramenkov
>            Severity: Minor
>
> Hello,
> When I tried to compile asterisk from source code, I get warning with app_voicemail:
>    [CC] app_voicemail.c -> app_voicemail.o
> app_voicemail.c: In function ‘manager_list_voicemail_users’:
> app_voicemail.c:13583:3: warning: ‘old’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>    astman_append(s,
>    ^~~~~~~~~~~~~~~~
>     "Event: VoicemailUserEntry\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     "%s"
>     ~~~~
>     "VMContext: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~
>     "VoiceMailbox: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~
>     "Fullname: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "Email: %s\r\n"
>     ~~~~~~~~~~~~~~~
>     "Pager: %s\r\n"
>     ~~~~~~~~~~~~~~~
>     "ServerEmail: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~
>     "FromString: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~
>     "MailCommand: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~
>     "Language: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "TimeZone: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "Callback: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "Dialout: %s\r\n"
>     ~~~~~~~~~~~~~~~~~
>     "UniqueID: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "ExitContext: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~
>     "SayDurationMinimum: %d\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     "SayEnvelope: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~
>     "SayCID: %s\r\n"
>     ~~~~~~~~~~~~~~~~
>     "AttachMessage: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~
>     "AttachmentFormat: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~
>     "DeleteMessage: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~
>     "VolumeGain: %.2f\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~
>     "CanReview: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~
>     "CallOperator: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~
>     "MaxMessageCount: %d\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~
>     "MaxMessageLength: %d\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~
>     "NewMessageCount: %d\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~
>     "OldMessageCount: %d\r\n"
>     ~~~~~~~~~~~~~~~~~~~~~~~~~
>  #ifdef IMAP_STORAGE
>  ~~~~~~~~~~~~~~~~~~~
>     "IMAPUser: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "IMAPServer: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~~
>     "IMAPPort: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~
>     "IMAPFlags: %s\r\n"
>     ~~~~~~~~~~~~~~~~~~~
>  #endif
>  ~~~~~~
>     "\r\n",
>     ~~~~~~~
>     actionid,
>     ~~~~~~~~~
>     vmu->context,
>     ~~~~~~~~~~~~~
>     vmu->mailbox,
>     ~~~~~~~~~~~~~
>     vmu->fullname,
>     ~~~~~~~~~~~~~~
>     vmu->email,
>     ~~~~~~~~~~~
>     vmu->pager,
>     ~~~~~~~~~~~
>     ast_strlen_zero(vmu->serveremail) ? serveremail : vmu->serveremail,
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     ast_strlen_zero(vmu->fromstring) ? fromstring : vmu->fromstring,
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     mailcmd,
>     ~~~~~~~~
>     vmu->language,
>     ~~~~~~~~~~~~~~
>     vmu->zonetag,
>     ~~~~~~~~~~~~~
>     vmu->callback,
>     ~~~~~~~~~~~~~~
>     vmu->dialout,
>     ~~~~~~~~~~~~~
>     vmu->uniqueid,
>     ~~~~~~~~~~~~~~
>     vmu->exit,
>     ~~~~~~~~~~
>     vmu->saydurationm,
>     ~~~~~~~~~~~~~~~~~~
>     ast_test_flag(vmu, VM_ENVELOPE) ? "Yes" : "No",
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     ast_test_flag(vmu, VM_SAYCID) ? "Yes" : "No",
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     ast_test_flag(vmu, VM_ATTACH) ? "Yes" : "No",
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     vmu->attachfmt,
>     ~~~~~~~~~~~~~~~
>     ast_test_flag(vmu, VM_DELETE) ? "Yes" : "No",
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     vmu->volgain,
>     ~~~~~~~~~~~~~
>     ast_test_flag(vmu, VM_REVIEW) ? "Yes" : "No",
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     ast_test_flag(vmu, VM_OPERATOR) ? "Yes" : "No",
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     vmu->maxmsg,
>     ~~~~~~~~~~~~
>     vmu->maxsecs,
>     ~~~~~~~~~~~~~
>     new,
>     ~~~~
>     old
>     ~~~
>  #ifdef IMAP_STORAGE
>  ~~~~~~~~~~~~~~~~~~~
>     ,
>     ~
>     vmu->imapuser,
>     ~~~~~~~~~~~~~~
>     vmu->imapserver,
>     ~~~~~~~~~~~~~~~~
>     vmu->imapport,
>     ~~~~~~~~~~~~~~
>     vmu->imapflags
>     ~~~~~~~~~~~~~~
>  #endif
>  ~~~~~~
>     );
>     ~
> app_voicemail.c:13583:3: warning: ‘new’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>    [LD] app_voicemail.o -> app_voicemail.so
> best regards,
> Stanislav



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



More information about the asterisk-bugs mailing list