PDA

View Full Version : Possible Buffer Overrun on End-User Disk


Yamake
06-08-2007, 05:58 PM
When converting a video, using invalid characters in the video name will cause Videora iPod Converter to corrupt the disk (where the disk is still readable but the physical area on the disk in which the video is stored is now inaccessible). For example:

Title: Sample TV Show: Episode 43
Device: (iPod)
Profile: (whatever)

In the above example, the illegal ":" (colon) is used. While Videora Converter does not reject this, the file system becomes corrupted (the resulting file is listed as 0 bytes and contains the name up to the illegal character -- the rest of the file is thus on the disk but not referenced by the allocation table of the file system). The data becomes stored in an inaccessible location and (without further assistance) lost forever. It is notable, however, that iTunes still reads the disk correctly (including the file name and all movie data) as it directly accesses the hard disk.

While at first this does not cause problems (other than the inaccessibility), a buffer overrun may occur if data is written to the section of the disk inadvertently as a result of the file system not recognizing the file part. Major bug! :p

-Yamake