[Mesa-dev] [PATCH 0/8] Klocwork related patches again.

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue Feb 25 06:41:13 PST 2014


The previous set fixed based on Chia-I's and Ian's comments. Hope
I did not miss any issue. Patch number eight fixes issue earlier
tried in "glsl: Fix memcpy size in ir_constant", this fix the one
particular place where the wrong typecast was used.

I dropped "mesa: add null checks for callocs in symbol_table.c"
and "mesa: Add missing null checks into prog_hash_table.c" for now 
because I did not yet find way to properly inform about memory 
allocation failure in glsl_compiler target.

/Juha-Pekka

Juha-Pekka Heikkila (8):
  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

 src/glx/glxcmds.c                    | 13 -------------
 src/glx/glxext.c                     |  4 ++++
 src/mesa/main/ff_fragment_shader.cpp | 17 +++++++++--------
 src/mesa/program/prog_noise.c        | 36 ++++++++++++++++++------------------
 src/mesa/program/program_parse.y     |  5 +++++
 src/mesa/program/symbol_table.c      |  6 ++++--
 src/mesa/tnl/t_vertex.c              | 16 ++++++++++++++--
 src/mesa/vbo/vbo_rebase.c            | 28 +++++++++++++++++++++++++---
 8 files changed, 79 insertions(+), 46 deletions(-)

-- 
1.8.1.2



More information about the mesa-dev mailing list