diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-02-03 11:41:53 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-02-03 11:41:53 +0100 |
commit | a4ac9d45c0cd14a2adc872186431c79804b77dbf (patch) | |
tree | c37419075e0c8749613de0955bf8678b9ff342fa /drivers/gpu/drm/imx/dw_hdmi-imx.c | |
parent | 1a980b8cbf0059a5308eea61522f232fd03002e2 (diff) | |
download | linux-stable-a4ac9d45c0cd14a2adc872186431c79804b77dbf.tar.gz linux-stable-a4ac9d45c0cd14a2adc872186431c79804b77dbf.tar.bz2 linux-stable-a4ac9d45c0cd14a2adc872186431c79804b77dbf.zip |
ovl: fix lseek overflow on 32bit
ovl_lseek() is using ssize_t to return the value from vfs_llseek(). On a
32-bit kernel ssize_t is a 32-bit signed int, which overflows above 2 GB.
Assign the return value of vfs_llseek() to loff_t to fix this.
Reported-by: Boris Gjenero <boris.gjenero@gmail.com>
Fixes: 9e46b840c705 ("ovl: support stacked SEEK_HOLE/SEEK_DATA")
Cc: <stable@vger.kernel.org> # v4.19
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/imx/dw_hdmi-imx.c')
0 files changed, 0 insertions, 0 deletions