--- a/filemanager/Engine/src/CFileManagerDocHandler.cpp Mon Jan 18 20:09:41 2010 +0200
+++ b/filemanager/Engine/src/CFileManagerDocHandler.cpp Tue Feb 02 00:03:31 2010 +0200
@@ -187,8 +187,14 @@
void CFileManagerDocHandler::OpenShareableFileL(
RFile64& aShareableFile, const TDesC8& aMime )
{
+ // Check if iFileFullPath is NULL
+ if ( !iFileFullPath )
+ {
+ User::Leave( KErrNotFound );
+ }
+
// Check if file open is denied
- if ( iObserver && iFileFullPath )
+ if ( iObserver )
{
if ( iObserver->NotifyL(
MFileManagerProcessObserver::ENotifyFileOpenDenied,