[PATCH] wined3d: Increase string buffer size in wined3d_debug_resource_access().

Paul Gofman gofmanp at gmail.com
Wed Feb 21 06:15:46 CST 2018


On 02/21/2018 02:44 PM, Matteo Bruni wrote:
> 2018-02-21 11:50 GMT+01:00 Paul Gofman <gofmanp at gmail.com>:
>> Otherwise it was crashing on long resource access debug string.
>>
>> Signed-off-by: Paul Gofman <gofmanp at gmail.com>
> Hi Paul,
>
> it looks like Józef was faster than both me and you:
> https://source.winehq.org/patches/data/142047 :)
>
Oh sry, didn't notice that. But is 124 a correct length? I am getting 
125 somehow: 3*4 (for " | ") + 27 * 2 + 29 * 2 + 1 (trailing zero), 
while 126 I put there is probably an overshoot.




More information about the wine-devel mailing list