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