Ticket #96 (closed defect: fixed)
segfault-on-invalid-mtime fix
Reported by: | slavazanko | Owned by: | metux |
---|---|---|---|
Priority: | critical | Milestone: | 4.6.2 |
Component: | mc-core | Version: | |
Keywords: | committed-master committed-mc-4.6 vote-winnie vote-slavazanko | Cc: | weigelt@… |
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
Invalid timestamps on files caused mc to segfault by passing a null
pointer to strftime. Avoid trying to print the time in this case.
Source: Gentoo Portage
Reference: mc-4.6.1
Reported-By: Maxim Britov <maxim office modum by>
Reported-Bug: http://bugs.gentoo.org/184296
Submit-By: Enrico Weigelt, metux IT service <weigelt metux de>
Submit-Date: 2008-12-26
State: new
See attachment.
Attachments
Change History
comment:1 Changed 16 years ago by metux
- Cc weigelt@… added
- Priority changed from major to critical
- Milestone set to Bug Fixing
Quite critical, should really go into next release.
Changed 16 years ago by metux
- Attachment mc-4.6.1-ac-fix-obsolete-ac_aix.diff added
A more deep fix ...
comment:2 Changed 16 years ago by winnie
- Milestone changed from Bug Fixing to 4.6.2
Reassign to 4.6.2 as this should be the bugfix release.
comment:3 Changed 16 years ago by slavazanko
hm.. is patch mc-4.6.1-ac-fix-obsolete-ac_aix.diff really helps with fix this trouble? Or patch is a wrong?
Changed 16 years ago by metux
- Attachment mc-4.6.1-timefmt.diff added
Now the right one: reworked time formatting
comment:6 Changed 16 years ago by winnie
- Status changed from new to assigned
- Owner set to metux
- Keywords vote-winnie added
Assign metux as owner as until now nobody owns this bug really.
@metux: Please set the bug to accepted.
btw. I'll add a rev2 of the patch as this own doesn't apply on latest git (mc-4.6 branch).
Changed 16 years ago by winnie
- Attachment fix-timefmt-rev2.patch added
Patch rediffed to apply on latest git. (Also created a 96_segfault_invalid_mtime branch with this patch applied inside)
comment:10 Changed 16 years ago by metux
- Keywords committed-master committed-mc-4.6 added; review approved removed
comment:11 Changed 16 years ago by winnie
- Status changed from accepted to testing
- Resolution set to fixed
comment:13 Changed 16 years ago by slavazanko
deleted 96_segfault_invalid_mtime branch from parent git.