mbox series

[0/2,RFC] ASoC: topology: fix access beyond data

Message ID 20191007084133.7674-1-guennadi.liakhovetski@linux.intel.com (mailing list archive)
Headers show
Series ASoC: topology: fix access beyond data | expand

Message

Guennadi Liakhovetski Oct. 7, 2019, 8:41 a.m. UTC
This is likely incomplete, I haven't reviewed the whole of the
topology parsing code, and I haven't tested this yet - neither for
actually being a problem without these patches nor for fixing them.
This is a preview to give everybody a chance to showt out if I
misunderstood something and there isn't actually a problem to be
fixed.

Thanks
Guennadi

Guennadi Liakhovetski (2):
  ASoC: topology: protect against accessing beyond loaded topology data
  ASoC: topology: don't access beyond topology data

 sound/soc/soc-topology.c | 37 +++++++++++++++++++++++++++++--------
 1 file changed, 29 insertions(+), 8 deletions(-)

Comments

Guennadi Liakhovetski Oct. 7, 2019, 9:13 a.m. UTC | #1
Sorry, I missed a couple of Cc, it was the first time I used
git send-email from this PC.

Thanks
Guennadi

On Mon, Oct 07, 2019 at 10:41:31AM +0200, Guennadi Liakhovetski wrote:
> This is likely incomplete, I haven't reviewed the whole of the
> topology parsing code, and I haven't tested this yet - neither for
> actually being a problem without these patches nor for fixing them.
> This is a preview to give everybody a chance to showt out if I
> misunderstood something and there isn't actually a problem to be
> fixed.
> 
> Thanks
> Guennadi
> 
> Guennadi Liakhovetski (2):
>   ASoC: topology: protect against accessing beyond loaded topology data
>   ASoC: topology: don't access beyond topology data
> 
>  sound/soc/soc-topology.c | 37 +++++++++++++++++++++++++++++--------
>  1 file changed, 29 insertions(+), 8 deletions(-)
> 
> -- 
> 1.9.3
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/alsa-devel