aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorChristoph Probst <[email protected]>2019-05-07 15:16:40 +0000
committerSteve French <[email protected]>2019-05-08 04:24:55 +0000
commit6a54b2e002c9d00b398d35724c79f9fe0d9b38fb (patch)
tree15337da48020ddeb9265edcad0abf0255895d881 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentNegotiate and save preferred compression algorithms (diff)
downloadkernel-6a54b2e002c9d00b398d35724c79f9fe0d9b38fb.tar.gz
kernel-6a54b2e002c9d00b398d35724c79f9fe0d9b38fb.zip
cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
Change strcat to strncpy in the "None" case to fix a buffer overflow when cinode->oplock is reset to 0 by another thread accessing the same cinode. It is never valid to append "None" to any other message. Consolidate multiple writes to cinode->oplock to reduce raciness. Signed-off-by: Christoph Probst <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]> Signed-off-by: Steve French <[email protected]> CC: Stable <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions