#6269 NORM Never A: usb index must not be read/written (was: usb index backward compatibility)

Zarro Boogs per Child bugtracker at laptop.org
Fri Feb 1 20:36:34 EST 2008


#6269: usb index must not be read/written
------------------------+---------------------------------------------------
  Reporter:  erikos     |       Owner:  tomeu         
      Type:  defect     |      Status:  reopened      
  Priority:  normal     |   Milestone:  Never Assigned
 Component:  datastore  |     Version:                
Resolution:             |    Keywords:                
  Verified:  0          |    Blocking:                
 Blockedby:             |  
------------------------+---------------------------------------------------

Comment(by AlbertCahalan):

 It's not good enough to automatically delete crap files when Xapian fails
 to understand the version. The whole concept is broken:

 The crap files will not be maintained by normal computers. The crap files
 are thus unusable, and so you must delete them every time anyway. The
 moment you read a crap file, you have made a grave error.

 You can not write a crap file to media that is read-only or full.

 It is pure insanity to write crap files for a 1 TB device; there could be
 many millions of legit files on the device. Pardon me for guessing that
 the Journal will get hit by the OOM killer in this case.

 You must assume that people will try to create a virus by maliciously
 corrupting the crap files; the less data you parse the better.

 BTW, for similar reasons it is also dangerous to use MIME types.

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



More information about the Bugs mailing list