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

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Wed Mar 12 14:11:42 PDT 2014


Most of these were on mesa-dev before, thank you again Brian and Ian for
commenting these earlier. I hope I did not miss any comment.

These depend on Ian's patch "mesa: Add _mesa_error_no_memory for logging 
out-of-memory messages" http://patchwork.freedesktop.org/patch/21355/

/Juha-Pekka

Juha-Pekka Heikkila (13):
  glx: remove unused __glXClientInfo()
  glx: add extra null check in getFBConfigs
  mesa: Prevent negative indexing on noise2, noise3 and noise4
  mesa: Add missing null check in _mesa_parse_arb_program()
  mesa: remove redundant running of check_symbol_table()
  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

 src/glsl/link_varyings.cpp                    |  3 ++-
 src/glx/glxcmds.c                             | 13 ---------
 src/glx/glxext.c                              |  4 +++
 src/mesa/drivers/dri/i965/intel_resolve_map.c |  7 +++++
 src/mesa/main/ff_fragment_shader.cpp          | 17 ++++++------
 src/mesa/main/hash.c                          |  5 ++++
 src/mesa/program/prog_hash_table.c            | 23 +++++++++++-----
 src/mesa/program/prog_noise.c                 | 36 ++++++++++++-------------
 src/mesa/program/program_parse.y              |  5 ++++
 src/mesa/program/symbol_table.c               | 39 +++++++++++++++++++++++----
 src/mesa/tnl/t_vertex.c                       | 14 ++++++++--
 src/mesa/vbo/vbo_rebase.c                     | 25 ++++++++++++++---
 12 files changed, 135 insertions(+), 56 deletions(-)

-- 
1.8.1.2



More information about the mesa-dev mailing list