SaferMobile / InTheClear

Java and Android mobile alerting and secure wipe application(s)
https://lab.safermobile.org/wiki/InTheClear
GNU General Public License v3.0
23 stars 19 forks source link

FC on test wipe - best result yet, though! #72

Closed djhalliday closed 13 years ago

djhalliday commented 13 years ago

Just tested a full wipe using my existing phone, so lots of contacts, call logs, etc. Results were:

Ended up eventually getting a force close, and it looks like ITC may have choked on some file or folder in its attempt to wipe the SDCard. Reference relevant portion of logcat here: http://pastebin.com/MwXL0M8W

harlo commented 13 years ago

Thanks for this! This is a good bug to catch!

It's due to the file buffer (that I'm writing zeros to) being too big and overtaking the memory. I suppose it means that the file deletion is going faster than the device's garbage collection.

I handled the error by just the file (and closing any open buffers) and then prompting garbage collection.

Not 100% sure that that's the perfect fix: I'll do some testing tomorrow. If anyone else has suggestions, please let me know!

Thanks, Harlo

On Thu, Aug 18, 2011 at 6:46 PM, djhalliday < reply@reply.github.com>wrote:

Just tested a full wipe using my existing phone, so lots of contacts, call logs, etc. Results were:

  • Contacts, call log, and calendar all wiped! Hooray!
  • Pictures remained - at least those labeled as 'Camera' in my Gallery

Ended up eventually getting a force close, and it looks like ITC may have choked on some file or folder in its attempt to wipe the SDCard. Reference relevant portion of logcat here: http://pastebin.com/MwXL0M8W

Reply to this email directly or view it on GitHub: https://github.com/SaferMobile/InTheClear/issues/72

harlo commented 13 years ago

Appears to be fixed, but let me know if we encounter this again.