[Mesa-dev] [PATCH 0/9] Klocwork patches again

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Thu Jul 3 01:13:10 PDT 2014


i965: Avoid null access in intelMakeCurrent() I was a bit iffy if its 
the same behavior which I replaced.

i965: in set_read_rb_tex_image() check  _mesa_meta_bind_rb_as_tex_image() 
did succeed - I tried to follow Topi's suggestion. I did not go touching
brw_meta_updownsample() here, it is left for another patch.

/Juha-Pekka

Juha-Pekka Heikkila (9):
  i965: in set_read_rb_tex_image() check
    _mesa_meta_bind_rb_as_tex_image() did succeed
  i965: check malloc return value in intel_resolve_map_set()
  i965: Avoid null access in intelMakeCurrent()
  glsl: Check calloc return value in link_intrastage_shaders()
  loader: Check dlsym() did not fail in libudev_get_device_name_for_fd()
  glsl: Check realloc return value in ir_function::matching_signature()
  i965: Avoid null access in fs_generator::generate_code()
  i965: Check after malloc success in intel_miptree_alloc_hiz()
  mesa/main: Check allocations success in
    _mesa_one_time_init_extension_overrides()

 src/glsl/ir_function.cpp                          | 11 +++++++++--
 src/glsl/linker.cpp                               | 15 +++++++++++----
 src/loader/loader.c                               |  3 +++
 src/mesa/drivers/common/meta_blit.c               | 10 +++++++++-
 src/mesa/drivers/dri/i965/brw_context.c           | 10 +++++++---
 src/mesa/drivers/dri/i965/brw_fs_generator.cpp    |  8 ++++++--
 src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c | 14 ++++++++++----
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c     |  4 ++++
 src/mesa/drivers/dri/i965/intel_resolve_map.c     |  6 ++++++
 src/mesa/main/extensions.c                        |  9 +++++++++
 10 files changed, 74 insertions(+), 16 deletions(-)

-- 
1.8.1.2



More information about the mesa-dev mailing list