Searched hist:"41556 f68" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-topology.c | 41556f68 Wed Feb 03 06:29:44 CST 2016 Vinod Koul <vinod.koul@intel.com> ASoC: Intel: Skylake: Fix the memory overwrite of tlv buffer
TLV buffer can be smaller than the module data, so update the size of data to be copied before doing the copy.
Also TLV header consists of two unsigned ints, this is also taken into account here and size modified to reflect this
Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> 41556f68 Wed Feb 03 06:29:44 CST 2016 Vinod Koul <vinod.koul@intel.com> ASoC: Intel: Skylake: Fix the memory overwrite of tlv buffer TLV buffer can be smaller than the module data, so update the size of data to be copied before doing the copy. Also TLV header consists of two unsigned ints, this is also taken into account here and size modified to reflect this Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|