#5929 BLOC Update.: Datastore's 'preview/' directory needs cleaning up

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 11 07:46:24 EST 2008


#5929: Datastore's 'preview/' directory needs cleaning up
----------------------+-----------------------------------------------------
  Reporter:  Phil     |       Owner:  bernie   
      Type:  defect   |      Status:  new      
  Priority:  blocker  |   Milestone:  Update.1 
 Component:  distro   |     Version:  Build 650
Resolution:           |    Keywords:           
  Verified:  0        |    Blocking:           
 Blockedby:           |  
----------------------+-----------------------------------------------------

Comment(by Phil):

 bernie: There's a function in the code that verifies whether it's a valid
 datastore file or not.  The four criteria are:
 a] proper length;
 b] proper number of dashes;
 c] proper location of dashes;
 d] every non-dash must be a lowercase hexidecimal character.

 That said, yes, I suppose if someone shoved a 'deadbeef-dead-dead-...'
 file that happens to trigger the algorithm ''in the previews/ directory''
 we will delete it.  I suspect that is a risk we can take.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5929#comment:13>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list