intel/tools: Initialize offset correctly for i965_asm
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 21 Feb 2019 00:47:01 +0000 (16:47 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 7 May 2019 21:33:48 +0000 (14:33 -0700)
commit1fb5ce0a11ccb8a0f8d41d0499f8a16b1dfef379
treeb0bb9bc3c4f2e321282a652ac379717f2d6798b6
parent85da1194ec58447afa49db229edc440a47099c89
intel/tools: Initialize offset correctly for i965_asm

If we leave offset uninitialized, access to store
will be random depending on stack value and can
segfault.

Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/tools/i965_asm.c