[Mesa-dev] [PATCH 1/3] r600/llvm: initialize radeon_llvm_binary

2013-11-14 Thread Aaron Watry
use memset to initialize to 0's... otherwise code_size and config_size could be uninitialized when read later in this method. It's also hard to do NULL checks on uninitialized pointers. Reviewed-by: Tom Stellard v2: Fix indentation --- src/gallium/drivers/r600/r600_llvm.c | 1 + 1 file changed

Re: [Mesa-dev] [PATCH 1/3] r600/llvm: initialize radeon_llvm_binary

2013-11-11 Thread Tom Stellard
On Thu, Nov 07, 2013 at 06:08:14PM -0600, Aaron Watry wrote: > use memset to initialize to 0's... otherwise code_size and config_size could > be uninitialized when read later in this method. It's also hard to do NULL > checks on uninitialized pointers. > --- > src/gallium/drivers/r600/r600_llvm.

[Mesa-dev] [PATCH 1/3] r600/llvm: initialize radeon_llvm_binary

2013-11-07 Thread Aaron Watry
use memset to initialize to 0's... otherwise code_size and config_size could be uninitialized when read later in this method. It's also hard to do NULL checks on uninitialized pointers. --- src/gallium/drivers/r600/r600_llvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drive