From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudarshan.bisht@nokia.com Subject: [PATCH 0/1] Fixed issues/defects reported by Coverity tool. Date: Thu, 17 Mar 2011 11:41:11 +0200 Message-ID: <1300354872-1443-1-git-send-email-sudarshan.bisht@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mgw-da02.nokia.com (smtp.nokia.com [147.243.128.26]) by alsa0.perex.cz (Postfix) with ESMTP id 384B410398A for ; Thu, 17 Mar 2011 10:42:49 +0100 (CET) Received: from localhost.localdomain (esdhcp-heru02554.research.nokia.com [172.21.25.54]) by mgw-da02.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p2H9gjxo030262 for ; Thu, 17 Mar 2011 11:42:47 +0200 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org From: Sudarshan Coverity Static Analysis helps developers find hard-to-spot, yet potentially crash-causing defects early in the development phase, reducing the cost,time, and risk of software errors. This patch has fix for situations where variable can be NULL but not been checked beforehand. Sudarshan (1): alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. modules/mixer/simple/sbasedl.c | 2 +- src/conf.c | 8 +++++--- src/hwdep/hwdep.c | 2 +- src/pcm/pcm_hooks.c | 5 +++-- src/pcm/pcm_simple.c | 2 +- src/rawmidi/rawmidi.c | 2 +- src/rawmidi/rawmidi_virt.c | 8 +++++--- 7 files changed, 17 insertions(+), 12 deletions(-)