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
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.
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