f477a5
diff --git a/esc/src/lib/coolkey/CoolKey_Message.cpp b/esc/src/lib/coolkey/CoolKey_Message.cpp
f477a5
index 87ee309..7b80f70 100644
f477a5
--- a/esc/src/lib/coolkey/CoolKey_Message.cpp
f477a5
+++ b/esc/src/lib/coolkey/CoolKey_Message.cpp
f477a5
@@ -213,7 +213,7 @@ void  eCKMessage::setBinValue(string &aKey,unsigned char*aValue,int *aSize)
f477a5
     if(!aKey.length())
f477a5
         return;
f477a5
 
f477a5
-    if(aSize <=0 || !aValue)
f477a5
+    if(aSize ==0 || !aValue)
f477a5
         return;
f477a5
 
f477a5
     string data = "";
f477a5
diff --git a/esc/src/lib/nss-http-client/request.cpp b/esc/src/lib/nss-http-client/request.cpp
f477a5
index cabd94f..5428350 100644
f477a5
--- a/esc/src/lib/nss-http-client/request.cpp
f477a5
+++ b/esc/src/lib/nss-http-client/request.cpp
f477a5
@@ -192,7 +192,7 @@ PRBool PSHttpRequest::setBody(int size, const char* body) {
f477a5
     }
f477a5
 
f477a5
     _bodyLength = size;
f477a5
-     sprintf(_body,body);
f477a5
+     sprintf(_body,"%s",body);
f477a5
     //_body = (char *)body;
f477a5
 
f477a5
     return PR_TRUE;