[alsa-devel] [PATCH] ASoC: dapm: Fix pointer dereference in is_connected_output_ep()

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Mar 15 02:29:41 CET 2013


On Thu, Mar 14, 2013 at 09:26:24PM +0100, Peter Ujfalusi wrote:
> *path is not yet initialized when we check if the widget is connected.
> 
> The compiler also warns about this:
> sound/soc/soc-dapm.c: In function 'is_connected_output_ep':
> sound/soc/soc-dapm.c:824:18: warning: 'path' may be used uninitialized in this function

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130315/b3bb62e7/attachment.sig>


More information about the Alsa-devel mailing list