[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:04:04 UTC 2012


The following commit has been merged in the wheezy branch:
commit 7b90b1633329ac97a0b04b344dca98563d9dfdc7
Author: Christian Costa <titan.costa at gmail.com>
Date:   Thu Mar 8 09:17:02 2012 +0100

    d3dxof: Check the right offset before dereferencing next byte.
    (cherry picked from commit b9353b73ae47dc7cdfcb55f5b7c3a1d8778954a9)

diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index f40c202..9f426c4 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -605,7 +605,7 @@ static BOOL is_string(parse_buffer* buf)
   if (*buf->buffer != '"')
     return FALSE;
 
-  while (pos < buf->rem_bytes && !is_operator(c = *(buf->buffer+pos+1)))
+  while ((pos+1) < buf->rem_bytes && !is_operator(c = *(buf->buffer+pos+1)))
   {
     if (c == '"')
     {

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list