aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2022-08-23 15:24:05 +0300
committerTakashi Iwai <[email protected]>2022-08-24 07:59:10 +0200
commit2e6481a3f3ee6234ce577454e1d88aca55f51d47 (patch)
tree58d86bd83ff420dcf613de635cca54bc8e0fe88e /lib/test_fortify/write_overflow-strlcpy-src.c
parent3e7e04b747adea36f349715d9f0998eeebf15d72 (diff)
ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array
The struct nhlt_format's fmt_config is a flexible array, it must not be used as normal array. When moving to the next nhlt_fmt_cfg we need to take into account the data behind the ->config.caps (indicated by ->config.size). Fixes: a864e8f159b13 ("ALSA: hda: intel-nhlt: verify config type") Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Jaska Uimonen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions