[pulseaudio-discuss] [PATCH v2 0/6] Coverity cleanups

Peter Meerwald-Stadler pmeerw at pmeerw.net
Tue Aug 30 13:04:29 UTC 2016


v2 of Coverity cleanups, thanks for feedback from Tanu

Peter Meerwald-Stadler (6):
  padsp: Fix flush and improve error handling
  core: Replace PA_PAGE_SIZE with pa_page_size()
  tests: Assert granularity range in stripnul.c
  source-output: Avoid potential NULL dereference
  sink-input: Avoid potential NULL dereference
  sample: RFC: Assert validity of sample_spec

 src/daemon/main.c             |    2 +-
 src/pulse/sample.c            |   11 +++++------
 src/pulsecore/core-util.c     |   26 ++++++++++++++++++++++++--
 src/pulsecore/core-util.h     |   13 +++++++++++++
 src/pulsecore/macro.h         |   21 ---------------------
 src/pulsecore/memblock.c      |    5 +++--
 src/pulsecore/sample-util.c   |    2 +-
 src/pulsecore/shm.c           |    7 ++++---
 src/pulsecore/sink-input.c    |    4 ++--
 src/pulsecore/sink.c          |    2 +-
 src/pulsecore/source-output.c |    2 +-
 src/tests/sigbus-test.c       |   13 +++++++------
 src/tests/stripnul.c          |    5 ++++-
 src/utils/padsp.c             |   11 +++++++++--
 14 files changed, 75 insertions(+), 49 deletions(-)

-- 
1.7.10.4



More information about the pulseaudio-discuss mailing list