Some revision_dates are created in the future

Bug #340860 reported by Tim Penhey
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Tim Penhey

Bug Description

Through either local clock drift, plain wrong localtime, or malicious intent, it is possible that the revisiondate stored on the revision is a future time.

We should cap the revision_date recorded in the database to be the date_created value.

Tags: lp-code
Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → thumper
importance: Undecided → High
milestone: none → 2.2.3
status: New → In Progress
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: In Progress → Fix Committed
Revision history for this message
Stuart Bishop (stub) wrote :

Liar, liar, pants on fire.

Changed in launchpad-bazaar:
status: Fix Committed → Triaged
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: Triaged → In Progress
Revision history for this message
Stuart Bishop (stub) wrote :

db patch fixing existing data has landed.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: In Progress → Fix Committed
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.