Skip to content

Commit 191bea6

Browse files
authored
Merge pull request #227 from SpectraLogic/rms-3462
Updating xmlParseMemory to xmlReadMemory
2 parents c7742d9 + 5142d01 commit 191bea6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ install_manifest.txt
5353
# eclipse IDE config files
5454
.cproject
5555
.project
56-
56+
*.cbp

src/ds3_requests.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ static ds3_error* _get_request_xml_nodes(
364364
char* root_element_name) {
365365
xmlNodePtr root;
366366

367-
xmlDocPtr doc = xmlParseMemory((const char*) xml_blob->data, xml_blob->len);
367+
xmlDocPtr doc = xmlReadMemory((const char*) xml_blob->data, xml_blob->len, NULL, NULL, XML_PARSE_HUGE);
368368
if (doc == NULL) {
369369
char* message = g_strconcat("Failed to parse response document. The actual response is: ", xml_blob->data, NULL);
370370
g_byte_array_free(xml_blob, TRUE);

0 commit comments

Comments
 (0)