[PATCH] d3dxof: Change "value" size to 512.
is_name() may write up to 512 bytes to the "value". Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> --- dlls/d3dxof/d3dxof_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3dxof/d3dxof_private.h b/dlls/d3dxof/d3dxof_private.h index cf33ed21ceaa..ff29261b6085 100644 --- a/dlls/d3dxof/d3dxof_private.h +++ b/dlls/d3dxof/d3dxof_private.h @@ -130,7 +130,7 @@ typedef struct { BOOL list_separator; ULONG cur_pos_data; LPBYTE cur_pstrings; - BYTE value[100]; + BYTE value[512]; xobject** pxo_globals; ULONG nb_pxo_globals; xobject* pxo_tab; -- 2.19.2
On Wed, Mar 13, 2019 at 3:20 PM Henri Verbeet <hverbeet(a)gmail.com> wrote:
On Wed, 13 Mar 2019 at 02:41, Józef Kucia <jkucia(a)codeweavers.com> wrote:
is_name() may write up to 512 bytes to the "value".
That's awful :D
Reading those source files is always an "interesting" experience...
participants (4)
-
Henri Verbeet -
Józef Kucia -
Matteo Bruni -
Matteo Bruni