[Mesa-dev] [PATCH 0/6] Klocwork set again

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Jan 26 01:07:45 PST 2015


Regular patch set about klocwork complaints to avoid segfaulting.

/Juha-Pekka

Juha-Pekka Heikkila (6):
  mesa/main: in _mesa_unpack_color_index_to_rgba_ubyte() check allocated
    pointers
  nir: Check in register_*_instr() after null pointers
  meta: react to NULL pointers in create_texture_for_pbo()
  util: in _mesa_set_create() mark error if out of memory
  nir: in insert_phi_nodes() check memory allocations succeeded.
  nir: check malloc return value in print_block()

 src/glsl/nir/nir_lower_vars_to_ssa.c        |  9 ++++++---
 src/glsl/nir/nir_print.c                    |  5 +++++
 src/glsl/nir/nir_to_ssa.c                   | 20 +++++++++++++++-----
 src/mesa/drivers/common/meta_tex_subimage.c |  7 +++++++
 src/mesa/main/pack.c                        |  8 ++++++++
 src/util/set.c                              |  6 +++++-
 6 files changed, 46 insertions(+), 9 deletions(-)

-- 
1.8.5.1



More information about the mesa-dev mailing list