Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault-on-invalid-mtime fix #96

Closed
mc-butler opened this issue Dec 28, 2008 · 17 comments
Closed

segfault-on-invalid-mtime fix #96

mc-butler opened this issue Dec 28, 2008 · 17 comments
Labels
area: core Issues not related to a specific subsystem prio: high Serious problem that could block progress
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/96
Reporter slavazanko (@slavaz)
Mentions weigelt@….de
Keywords committed-master, committed-mc-4.6, vote-winnie, vote-slavazanko

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.

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Dec 28, 2008 at 12:14 UTC

@mc-butler
Copy link
Author

Changed by metux (@metux) on Dec 29, 2008 at 0:35 UTC (comment 1)

  • Milestone set to Bug Fixing
  • Cc set to weigelt@….de
  • Priority changed from major to critical

Quite critical, should really go into next release.

@mc-butler
Copy link
Author

Changed by metux (@metux) on Dec 30, 2008 at 1:23 UTC

A more deep fix ...

@mc-butler
Copy link
Author

Changed by winnie (@winnieXY) on Jan 6, 2009 at 6:23 UTC (comment 2)

  • Milestone changed from Bug Fixing to 4.6.2

Reassign to 4.6.2 as this should be the bugfix release.

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Jan 6, 2009 at 7:49 UTC (comment 3)

hm.. is patch mc-4.6.1-ac-fix-obsolete-ac_aix.diff really helps with fix this trouble? Or patch is a wrong?

@mc-butler
Copy link
Author

Changed by metux (@metux) on Jan 6, 2009 at 18:45 UTC (comment 4)

Ups, obviously I uploaded the wrong patch ;-o

@mc-butler
Copy link
Author

Changed by metux (@metux) on Jan 6, 2009 at 18:47 UTC

Now the right one: reworked time formatting

@mc-butler
Copy link
Author

Changed by metux (@metux) on Jan 6, 2009 at 18:47 UTC (comment 5)

  • Keywords set to review

@mc-butler
Copy link
Author

Changed by winnie (@winnieXY) on Jan 10, 2009 at 10:56 UTC (comment 6)

  • Status changed from new to assigned
  • Owner set to metux
  • Keywords changed from review to review, vote-winnie

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).

@mc-butler
Copy link
Author

Changed by winnie (@winnieXY) on Jan 10, 2009 at 10:57 UTC

Patch rediffed to apply on latest git. (Also created a 96_segfault_invalid_mtime branch with this patch applied inside)

@mc-butler
Copy link
Author

Changed by metux (@metux) on Jan 10, 2009 at 14:51 UTC (comment 7)

  • Status changed from assigned to accepted

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Jan 11, 2009 at 16:32 UTC (comment 8)

  • Keywords changed from review, vote-winnie to review, vote-winnie, vote-slavazanko

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Jan 11, 2009 at 16:33 UTC (comment 9)

  • Keywords changed from review, vote-winnie, vote-slavazanko to review, vote-winnie, vote-slavazanko, approved

@mc-butler
Copy link
Author

Changed by metux (@metux) on Jan 11, 2009 at 21:12 UTC (comment 10)

  • Keywords changed from review, vote-winnie, vote-slavazanko, approved to committed-master, committed-mc-4.6, vote-winnie, vote-slavazanko

@mc-butler
Copy link
Author

Changed by winnie (@winnieXY) on Jan 13, 2009 at 21:50 UTC (comment 11)

  • Resolution set to fixed
  • Status changed from accepted to testing

@mc-butler
Copy link
Author

Changed by winnie (@winnieXY) on Jan 13, 2009 at 21:50 UTC (comment 12)

  • Status changed from testing to closed

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Jan 19, 2009 at 11:48 UTC (comment 13)

deleted 96_segfault_invalid_mtime branch from parent git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: high Serious problem that could block progress
Development

No branches or pull requests

1 participant