--- mailnews/compose/src/nsMsgCompose.cpp Thu Oct 24 01:29:37 2002 +++ mailnews/compose/src/nsMsgCompose_sigpipe.cpp Thu Nov 14 10:51:47 2002 @@ -3192,7 +3192,7 @@ if (!tempFile.is_open()) return NS_MSG_ERROR_READING_FILE; - readSize = fSpec.GetFileSize(); + readSize = 4096; /* Big enough, also can read from "non regular" files */ ptr = readBuf = (char *)PR_Malloc(readSize + 1); if (!readBuf) return NS_ERROR_OUT_OF_MEMORY; memset(readBuf, 0, readSize + 1);