summaryrefslogtreecommitdiff
path: root/src/XmlHandler/SignatureHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/XmlHandler/SignatureHandler.cpp')
-rwxr-xr-x[-rw-r--r--]src/XmlHandler/SignatureHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/XmlHandler/SignatureHandler.cpp b/src/XmlHandler/SignatureHandler.cpp
index 9aa8434..17cc465 100644..100755
--- a/src/XmlHandler/SignatureHandler.cpp
+++ b/src/XmlHandler/SignatureHandler.cpp
@@ -163,11 +163,11 @@ SignatureHandler::OnCertificateValue(const char *pCharacters)
{
if (__pAuthorCertChain == null)
{
- __pAuthorCertChain = new ArrayList;
+ __pAuthorCertChain = new (std::nothrow) ArrayList;
TryCatch(__pAuthorCertChain, res = false, "[osp-installer] __pAuthorCertChain is null");
}
- pByteBuffer = new ByteBuffer;
+ pByteBuffer = new (std::nothrow) ByteBuffer;
TryCatch(pByteBuffer, res = false, "[osp-installer] pByteBuffer is null");
int length = strlen(pCharacters);
@@ -185,11 +185,11 @@ SignatureHandler::OnCertificateValue(const char *pCharacters)
{
if (__pDistributorCertChain == null)
{
- __pDistributorCertChain = new ArrayList;
+ __pDistributorCertChain = new (std::nothrow) ArrayList;
TryCatch(__pDistributorCertChain, res = false, "[osp-installer] __pDistributorCertChain is null");
}
- pByteBuffer = new ByteBuffer;
+ pByteBuffer = new (std::nothrow) ByteBuffer;
TryCatch(pByteBuffer, res = false, "[osp-installer] pByteBuffer is null");
int length = strlen(pCharacters);