-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
menu.c: Fix array out of bounds after mailbox deletion.
Due to the possible reallocation of the mailboxes array made possible by commit 9a61ece, it is now possible for client->folders.n and client->num_mailboxes to differ when free_folder_items is called. Index using the correct variable to avoid this, and ensure that the display names are cleaned up appropriately in both cases.
- Loading branch information
1 parent
ac45fd4
commit 23759f8
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters