diff -r 1c07d7ba3e3d -r c32dc0be5eb4 remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp --- a/remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp Thu Jan 07 13:15:09 2010 +0200 +++ b/remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp Mon Jan 18 21:00:57 2010 +0200 @@ -197,7 +197,7 @@ fid.iVolumeId = aStream.ReadInt32L(); // check whether there is no trash in the data being internalized - if (fid.iVolumeId >= 0 && fid.iVolumeId <= KMaxVolumes && fid.iNodeId > 0) + if (fid.iVolumeId >= 0 && fid.iVolumeId < KMaxVolumes && fid.iNodeId > 0) { // find existing CRsfwFileEntry object based on TFid CRsfwVolume* volume = aVolumeTable->iVolumes[fid.iVolumeId];