[Mesa-dev] [PATCH 00/12] Again Klocwork patches

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Apr 7 12:48:25 PDT 2014


Set of patches which mostly were here earlier, hope I did not this time miss
any comments. #12 is 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 (11):
  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
  i965/fs: Check variable_storage return value in fs_visitor::visit

 src/glsl/Makefile.am                          | 13 ++++++++----
 src/glsl/link_uniform_blocks.cpp              |  5 +++++
 src/glsl/link_varyings.cpp                    |  5 +++++
 src/glsl/loop_analysis.cpp                    |  6 ++++--
 src/glsl/main.cpp                             |  6 ++++++
 src/glsl/tests/common.c                       | 30 +++++++++++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp  |  6 ++++++
 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            |  8 +++++++
 src/mesa/program/symbol_table.c               | 30 +++++++++++++++++++++++++++
 src/mesa/tnl/t_vertex.c                       | 14 +++++++++++--
 src/mesa/vbo/vbo_rebase.c                     | 19 +++++++++++++++++
 16 files changed, 169 insertions(+), 16 deletions(-)
 create mode 100644 src/glsl/tests/common.c

-- 
1.8.1.2



More information about the mesa-dev mailing list