[PATCH] d3dxof: Accept longer string size.

Christian Costa titan.costa at wanadoo.fr
Tue Apr 21 16:31:14 CDT 2009


---

This patch fixes bug 16728.

 0 files changed, 0 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 1205e48..4a0ecaa 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -467,7 +467,7 @@ static BOOL is_integer(parse_buffer* buf)
 
 static BOOL is_string(parse_buffer* buf)
 {
-  char tmp[32];
+  char tmp[100];
   DWORD pos = 0;
   char c;
   BOOL ok = 0;
@@ -475,7 +475,7 @@ static BOOL is_string(parse_buffer* buf)
   if (*buf->buffer != '"')
     return FALSE;
 
-  while (!is_separator(c = *(buf->buffer+pos+1)) && (pos < 31))
+  while (!is_separator(c = *(buf->buffer+pos+1)) && (pos < 99))
   {
     if (c == '"')
     {


More information about the wine-patches mailing list