Re: [Mesa-dev] [PATCH] gallium/hud: avoid buffer overrun

2017-01-16 Thread Marek Olšák
Pushed, thanks. Marek On Sun, Jan 15, 2017 at 12:28 AM, Thomas Hindoe Paaboel Andersen wrote: > Renaming data sources was added in > e8bb97ce30051b999a4a69c9b27884daeb8d71e6 > It was possible to use a new name longer than > the name array in hud_graph of 128. This > patch truncates the name to f

[Mesa-dev] [PATCH] gallium/hud: avoid buffer overrun

2017-01-14 Thread Thomas Hindoe Paaboel Andersen
Renaming data sources was added in e8bb97ce30051b999a4a69c9b27884daeb8d71e6 It was possible to use a new name longer than the name array in hud_graph of 128. This patch truncates the name to fit the array. CC: Marek Olšák --- src/gallium/auxiliary/hud/hud_context.c | 6 -- 1 file changed, 4