From: Paul Gofman Subject: Re: [PATCH] wined3d: Increase string buffer size in wined3d_debug_resource_access(). Message-Id: Date: Wed, 21 Feb 2018 15:15:46 +0300 In-Reply-To: References: <20180221105029.16322-1-gofmanp@gmail.com> On 02/21/2018 02:44 PM, Matteo Bruni wrote: > 2018-02-21 11:50 GMT+01:00 Paul Gofman : >> Otherwise it was crashing on long resource access debug string. >> >> Signed-off-by: Paul Gofman > 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.