bluefreesky
welcome to my space
Ftp server wrote garbage onto harddisk
January 9, 2009 on 4:07 pm | By | In bluefreesky.com | Ftp server wrote garbage onto harddiska few minutes ago, i transferred 4 mpg files to the xbox using konquerer webbrowser (ftp) drag and drop.
the first two files were ok, but the 3rd and 4th file contained only garbage. also about every 2nd character in the filename was replaced by a random character.
the difference between the first 2 files, and the problematic ones is, that the first 2 files have a shorter name.
after that, i transferred 2 more files onto the box, with filenames as short as the first successful transferred files. during ftp transfer of both files, konqueror showed an error message "cannot write that file". the result files on the box had again trashed filesnames and they contained 32mb of garbage.
after rebooting the box, i was able to copy the 2 last files (with short filenames) successfully but the long files got again trashed cotent and filenames.
therefore i'm pretty sure that there is a buffer overflow in the filenames. after that buffer overflow occurs, the software write garbage onto the harddisk file data and names) for any following file. this seems to be a dangerous bug for the rest of my existing files. my long filenames were:
mona_lisas_laecheln_1.mpg and mona_lisas_laecheln_2.mpg
so not very long and i think they should work.
i suggest that perhaps it tried to transfer them as ascii rather than binary - this would result in garbage files.
#If you have any other info about this subject , Please add it free.# |
edit