--- dirops.cpp.orig 2008-03-29 11:00:20.000000000 +0100 +++ dirops.cpp 2008-03-29 11:11:14.000000000 +0100 @@ -437,15 +437,16 @@ bool FindEncryption (QString Selected) { QFile sourcefile (Selected); sourcefile.open( IO_ReadOnly ); - char buffer[17]; + char buffer[18]; sourcefile.readBlock (buffer, 16); - buffer[17]='\n'; + buffer[16]='\n'; + buffer[17]='\0'; QString Identify=&buffer[2]; sourcefile.close(); if (Identify.contains("rijndael-128",FALSE)) - return true; + return true; else - return false; + return false; } QString PrepforShell (QString Selected)