Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 430336 Details for
Bug 579850
mail-client/mutt-1.6.0-r1 - segfault with "set sidebar_folder_indent"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
mutt-1.6.0-sidebar-folder-indent-segfault.patch (text/plain), 652 bytes, created by
S. Gilles
on 2016-04-13 16:48:42 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
S. Gilles
Created:
2016-04-13 16:48:42 UTC
Size:
652 bytes
patch
obsolete
>diff --git a/sidebar.c b/sidebar.c >index 5a9cfcb..58ba56d 100755 >--- a/sidebar.c >+++ b/sidebar.c >@@ -759,8 +759,12 @@ draw_sidebar (int first_row, int num_rows, int div_width) > if (maildir_is_prefix && option (OPTSIDEBARFOLDERINDENT)) { > const char *tmp_folder_name; > int lastsep = 0; >+ size_t maxidx = 0; > tmp_folder_name = b->path + maildirlen + 1; >- for (i = 0; i < strlen (tmp_folder_name) - 1; i++) { >+ if (tmp_folder_name[0]) { >+ maxidx = strlen(tmp_folder_name) - 1; >+ } >+ for (i = 0; i < maxidx; i++) { > if (SidebarDelimChars && > strchr (SidebarDelimChars, tmp_folder_name[i])) { > sidebar_folder_depth++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 579850
: 430336