[Mesa-dev] [PATCH 0/2] two Klocwork related patches.

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Dec 30 13:15:13 PST 2013


Some null checks into glx_pbuffer.c. Still wonder should these be
made as asserts instead of regular "if"s because if __glXInitialize()
return NULL here there is something very wrong.

glsl patch is the same as I sent earlier today with one typo fixed.
It somehow was missing one semicolon causing a build error.

Juha-Pekka Heikkila (2):
  glsl: Fix null access on file read error
  glx: Add some missing null checks in glx_pbuffer.c

 src/glsl/main.cpp     |  3 ++-
 src/glx/glx_pbuffer.c | 19 +++++++++++++++----
 2 files changed, 17 insertions(+), 5 deletions(-)

-- 
1.8.1.2



More information about the mesa-dev mailing list