ASoC: ab8500-codec: info leak in anc_status_control_put()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Sep 2013 07:53:36 +0000 (10:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:31 +0000 (16:08 -0700)
commit7a7e86e4ef76e20e0e945c8216bbb0afa695d8ab
tree01e6fed764a4979855143be4fd8fc59ad3d5b465
parent7fe5daa3a267dc44677e471c3de88b8653aae541
ASoC: ab8500-codec: info leak in anc_status_control_put()

commit d63733aed90b432e5cc489ddfa28e342f91b4652 upstream.

If the user passes an invalid value it leads to an info leak when we
print the error message or it could oops.  This is called with user
supplied data from snd_ctl_elem_write().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/ab8500-codec.c