[asterisk-bugs] [JIRA] (ASTERISK-25899) IMAP access FATAL error: Out of memory

Alexei Gradinari (JIRA) noreply at issues.asterisk.org
Thu Apr 7 11:36:56 CDT 2016


Alexei Gradinari created ASTERISK-25899:
-------------------------------------------

             Summary: IMAP access FATAL error: Out of memory
                 Key: ASTERISK-25899
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25899
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_voicemail/IMAP
    Affects Versions: 13.8.0
         Environment: Slackware 14.1 x86_64
uw-imap-2007f
            Reporter: Alexei Gradinari


Sometimes uw-imap function 'mail_fetchbody' returns huge len.
I don't known if it's bug in uw-imap or on imap server, but
app_voicemail doesn't check this len and calls uw-imap function 'rfc822_base64' with this len.
uw-imap tries to allocate huge memory and abort() on fail.

To avoid it's necessary to check len on reasonable max value.






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



More information about the asterisk-bugs mailing list