commit | a248ce068f560ece6b72eb75b54380e3d800cbab | [log] [tgz] |
---|---|---|
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | Mon Jan 12 12:42:34 2015 -0800 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jan 12 22:23:56 2015 +0100 |
tree | d17d1c3e444171ac2cf3c150ce9c19d82a618706 | |
parent | eaa27f34e91a14cdceed26ed6c6793ec1d186115 [diff] |
staging: line6: toneport.c: Fix for possible null pointer dereference The NULL check was done to late, and there it was a risk of a possible null pointer dereference. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>