Bug 608202: xpcshell: new test_attachment_size.js fails; r=Standard8 [CLOSED TREE]
authorKarsten Düsterloh <mnyromyr@tprac.de>
Thu, 18 Nov 2010 22:58:01 +0100
changeset 6718 7f98b2c78c31e04ff2c557ef179053e3f8cd7a00
parent 6717 38f77a75000d596719a309e4e801524f823ec71f
child 6719 ec3138bfe33afa9ec0fcc1ef8e8862e530a0d49d
push id5161
push usermnyromyr@tprac.de
push dateThu, 18 Nov 2010 21:58:43 +0000
treeherdercomm-central@7f98b2c78c31 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8
bugs608202
Bug 608202: xpcshell: new test_attachment_size.js fails; r=Standard8 [CLOSED TREE]
mailnews/mime/src/mimeenc.cpp
--- a/mailnews/mime/src/mimeenc.cpp
+++ b/mailnews/mime/src/mimeenc.cpp
@@ -749,17 +749,17 @@ mime_decode_yenc_buffer (MimeDecoderData
         dest ++;
       }
 
       // The assertion below is helpful, too
       if (outSize)
         *outSize = dest - line;
 
       /* Now write out what we decoded for this line. */
-      NS_ASSERTION(dest >= line && dest < src, "nothing to write!");
+      NS_ASSERTION(dest >= line && dest <= src, "nothing to write!");
       if (dest > line)
       {
         status = data->write_buffer (line, dest - line, data->closure);
         if (status < 0) /* abort */
           return status;
       }
 
       /* Reset the line so that we don't think it's partial next time. */