Ticket #1973: Segfault in 'Listing mode' dialog
Test case: * run mc * Select F9 => 'Left/Right' => 'Listing mode...' * [x] user Mini status * enter below: 'half type name | size+ | perm' * Press [< OK >] button Fix issue: alloc new block of memory with initialization (filled by zero) Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Этот коммит содержится в:
родитель
e9991314cf
Коммит
9fdfbf64cb
@ -1526,7 +1526,7 @@ parse_display_format (WPanel *panel, const char *format, char **error, int issta
|
||||
while (*format){ /* format can be an empty string */
|
||||
int found = 0;
|
||||
|
||||
darr = g_new (format_e, 1);
|
||||
darr = g_new0 (format_e, 1);
|
||||
|
||||
/* I'm so ugly, don't look at me :-) */
|
||||
if (!home)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user