summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/ca0132_regs.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2021-11-12 16:08:01 +0100
committerDavid Teigland <teigland@redhat.com>2021-11-12 16:38:19 +0100
commit6a628fa43810f861da50c593c69f2ead1c829231 (patch)
tree719245d47ef94ec6a23f635c948cf4992eb10f86 /sound/pci/hda/ca0132_regs.h
parentfs: dlm:Remove unneeded semicolon (diff)
downloadlinux-6a628fa43810f861da50c593c69f2ead1c829231.tar.xz
linux-6a628fa43810f861da50c593c69f2ead1c829231.zip
fs: dlm: fix potential buffer overflow
This patch fixes an potential overflow in sscanf and the maximum declared string parsing length which seems to be excluding the null termination symbol. This patch will just add one byte to be prepared on a string with length of DLM_RESNAME_MAXLEN including the null termination symbol. Fixes: 5054e79de999 ("fs: dlm: add lkb debugfs functionality") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'sound/pci/hda/ca0132_regs.h')
0 files changed, 0 insertions, 0 deletions