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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to