decode: Add some missing protection against short buffers for gen6 instr
[platform/upstream/intel-gpu-tools.git] / tools / intel_dump_decode.c
index dc477cb..3d5514a 100644 (file)
@@ -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);