You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/09/21 12:48:50 UTC

svn commit: r448509 - /webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c

Author: samisa
Date: Thu Sep 21 03:48:49 2006
New Revision: 448509

URL: http://svn.apache.org/viewvc?view=rev&rev=448509
Log:
Fixed seg fault for RM sample when MIME enabled

Modified:
    webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c

Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c?view=diff&rev=448509&r1=448508&r2=448509
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c Thu Sep 21 03:48:49 2006
@@ -445,7 +445,7 @@
                 sprintf(temp_boundry, "%s", "--");
                 sprintf(temp_boundry, "%s", mime_boundary);
                 sprintf(temp_boundry, "%s", "--");
-                if (AXIS2_STRSTR(body_mime, temp_boundry))
+                if (body_mime && AXIS2_STRSTR(body_mime, temp_boundry))
                     break;
 
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org