[Mesa-dev] [PATCH 00/11] Klocwork patches

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Fri Apr 4 03:27:54 PDT 2014


Set of patches which mostly were here earlier. #10 and #11 are new
to the set. These pass Piglit quick tests with no regression on my Ivybridge.

/Juha-Pekka

Ian Romanick (1):
  mesa: Add _mesa_error_no_memory for logging out-of-memory messages

Juha-Pekka Heikkila (10):
  mesa: add missing null checks in _tnl_register_fastpath()
  mesa: add extra null checks in vbo_rebase_prims()
  mesa: In emit_texenv() type mismatch was forced with typecast
  mesa: Add missing null checks into prog_hash_table.c
  glsl: add missing null check in tfeedback_decl::init()
  mesa: add missing null check in _mesa_NewHashTable()
  i965: check malloc return value in intel_resolve_map_set()
  mesa: add null checks in symbol_table.c
  glsl: Add null check in loop_analysis.cpp
  glsl: check _mesa_hash_table_create return value in
    link_uniform_blocks

 src/glsl/Makefile.am                          | 13 +++++++----
 src/glsl/link_uniform_blocks.cpp              |  9 ++++++++
 src/glsl/link_varyings.cpp                    |  6 +++++
 src/glsl/loop_analysis.cpp                    |  2 +-
 src/glsl/main.cpp                             |  6 +++++
 src/glsl/tests/common.c                       | 30 ++++++++++++++++++++++++
 src/mesa/drivers/dri/i965/intel_resolve_map.c |  7 ++++++
 src/mesa/main/errors.c                        |  6 +++++
 src/mesa/main/errors.h                        |  3 +++
 src/mesa/main/ff_fragment_shader.cpp          | 17 +++++++-------
 src/mesa/main/hash.c                          | 10 ++++++++
 src/mesa/program/prog_hash_table.c            | 10 ++++++++
 src/mesa/program/symbol_table.c               | 33 ++++++++++++++++++++++++---
 src/mesa/tnl/t_vertex.c                       | 14 ++++++++++--
 src/mesa/vbo/vbo_rebase.c                     | 25 +++++++++++++++++---
 15 files changed, 170 insertions(+), 21 deletions(-)
 create mode 100644 src/glsl/tests/common.c

-- 
1.8.1.2



More information about the mesa-dev mailing list