[Mesa-dev] [PATCH 0/5] Klocwork related pathes

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Fri Feb 14 05:23:54 PST 2014


Resend of the earlier glx patches with the issue pointed out by Petri fixed
as well as two additions.

Patch number five is a bit special. hash_table_insert() and 
hash_table_replace() don't really have a way to report errors and I did not 
want to go changing the api since these are called from so many places thus 
the case of null (c)allocation is handled just inside the functions and 
relied low memory situation is handled outside the function properly.

Juha-Pekka Heikkila (5):
  glx: Add extra null check in __glXClientInfo
  glx: add extra null check in getFBConfigs
  glx: add missing null check in SendMakeCurrentRequest
  egl: Unhide functionality in _eglInitSync()
  mesa: Add missing null checks into prog_hash_table.c

 src/egl/main/eglsync.c             |  3 ++-
 src/glx/glxcmds.c                  | 13 ++++++++-----
 src/glx/glxext.c                   |  3 ++-
 src/glx/indirect_glx.c             |  2 +-
 src/mesa/program/prog_hash_table.c | 16 ++++++++++------
 5 files changed, 23 insertions(+), 14 deletions(-)

-- 
1.8.1.2



More information about the mesa-dev mailing list