[asterisk-bugs] [JIRA] (ASTERISK-17621) Concurrent access to same mailbox, can delete unread messages.

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Jan 14 12:44:25 CST 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-17621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-17621:
-----------------------------------

    Description: 
If 2 users access the same mailbox concurrently, and both delete the 1st message.

As each hangups, the mailbox msgnum is shuffled down a slot.

The result is, as the 2nd user hangups the 2nd message *+('UNREAD')+* is deleted, as at that instant it's msgnum=0.

 



  was:
If 2 users access the same mailbox concurrently, and both delete the 1st message.

As each hangups, the mailbox msgnum is shuffled down a slot.

The result is, as the 2nd user hangups the 2nd message <b><u>('UNREAD')</u></b> is deleted, as at that instant it's msgnum=0.

 




> Concurrent access to same mailbox, can delete unread messages.
> --------------------------------------------------------------
>
>                 Key: ASTERISK-17621
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17621
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Applications/app_voicemail
>            Reporter: Alec Davis
>            Severity: Minor
>         Attachments: app_voicemail.c.diffs
>
>
> If 2 users access the same mailbox concurrently, and both delete the 1st message.
> As each hangups, the mailbox msgnum is shuffled down a slot.
> The result is, as the 2nd user hangups the 2nd message *+('UNREAD')+* is deleted, as at that instant it's msgnum=0.
>  



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



More information about the asterisk-bugs mailing list