[Mesa-dev] [PATCH 0/5] Fix member access within null pointer reported by UBSAN

Bartosz Tomczyk bartosz.tomczyk86 at gmail.com
Tue Feb 7 18:34:18 UTC 2017


Series fix various null pointer derefeneces repored by UBSAN.
Found by running piglit tests.

Bartosz Tomczyk (5):
  gallium/u_inlines: fix member access within null pointer
  util/list: fix member access within null pointer
  st/mesa: fix member access within null pointer
  gallium/auxiliary: fix member access within null pointer
  gallium/radeon: fix member access within null pointer

 configure.ac                                  |  3 ++
 src/gallium/auxiliary/pipebuffer/pb_buffer.h  | 10 +++--
 src/gallium/auxiliary/util/u_inlines.h        | 65 ++++++++++++++++-----------
 src/gallium/drivers/radeon/r600_pipe_common.c | 13 +++---
 src/gallium/drivers/radeon/r600_pipe_common.h |  3 +-
 src/mesa/state_tracker/st_manager.c           |  2 +-
 src/util/list.h                               |  9 ++++
 7 files changed, 67 insertions(+), 38 deletions(-)

-- 
2.11.1



More information about the mesa-dev mailing list