Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186369 - strace segfault on invalid time
Summary: strace segfault on invalid time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 19:45 UTC by Harald van Dijk (RETIRED)
Modified: 2007-07-30 10:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2007-07-23 19:45:37 UTC
To get right to the point, please apply
  http://dev.gentoo.org/~truedfx/strace-4.5.15-invalid-time.patch
so that
  strace perl -e 'utime 0, 4*10**17, "..."'
doesn't segfault on amd64. It doesn't handle all theoretically possible definitions of time_t, but it's enough for the current systems. I've sent this upstream as well, with a note about a slightly more complete solution, but judging from the current open / committed patch ratio, it'll never ever be fixed there...
Comment 1 SpanKY gentoo-dev 2007-07-30 10:03:12 UTC
added to 4.5.15-r1