mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
decode: Add some missing protection against short buffers for gen6 instr
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
static void
|
||||
read_bin_file (uint32_t devid, const char * filename)
|
||||
{
|
||||
uint32_t buf[2048];
|
||||
uint32_t buf[16384];
|
||||
int fd, offset, ret;
|
||||
|
||||
fd = open (filename, O_RDONLY);
|
||||
|
||||
Reference in New Issue
Block a user