Initialize a variable. props kapeels for initial patch. fixes #15703.

git-svn-id: https://develop.svn.wordpress.org/trunk@16770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-07 18:55:13 +00:00
parent d150dcd964
commit 708aa37730

View File

@ -216,6 +216,7 @@ class IXR_Message
xml_set_element_handler($this->_parser, 'tag_open', 'tag_close');
xml_set_character_data_handler($this->_parser, 'cdata');
$chunk_size = 262144; // 256Kb, parse in chunks to avoid the RAM usage on very large messages
$final = false;
do {
if (strlen($this->message) <= $chunk_size) {
$final = true;