Commit 59112f21 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

webservices: Allocate enough memory for WS_XML_TEXT_TYPE_DOUBLE on Valgrind.

parent 3b050d61
...@@ -1369,7 +1369,7 @@ static HRESULT text_to_utf8text( const WS_XML_TEXT *text, WS_XML_UTF8_TEXT **ret ...@@ -1369,7 +1369,7 @@ static HRESULT text_to_utf8text( const WS_XML_TEXT *text, WS_XML_UTF8_TEXT **ret
case WS_XML_TEXT_TYPE_DOUBLE: case WS_XML_TEXT_TYPE_DOUBLE:
{ {
const WS_XML_DOUBLE_TEXT *double_text = (const WS_XML_DOUBLE_TEXT *)text; const WS_XML_DOUBLE_TEXT *double_text = (const WS_XML_DOUBLE_TEXT *)text;
unsigned char buf[24]; /* "-1.1111111111111111E-308" */ unsigned char buf[32]; /* "-1.1111111111111111E-308", oversized to address Valgrind limitations */
unsigned short fpword; unsigned short fpword;
ULONG len; ULONG len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment