summaryrefslogtreecommitdiff
path: root/sound/firewire/amdtp-am824.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-02-03 15:29:44 +0300
committerMark Brown <broonie@kernel.org>2016-02-04 14:36:14 +0300
commit41556f68d1dd0b6bbf311a220523b034d2a040e7 (patch)
tree4a9a5c0c3ba379e4c755b814ecfbb112d40ab2f9 /sound/firewire/amdtp-am824.h
parent292d4200a90715ac29f3763df27adb38a243868c (diff)
downloadlinux-41556f68d1dd0b6bbf311a220523b034d2a040e7.tar.xz
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>
Diffstat (limited to 'sound/firewire/amdtp-am824.h')
0 files changed, 0 insertions, 0 deletions