aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorJerry James <[email protected]>2018-06-23 20:49:04 +0000
committerMasahiro Yamada <[email protected]>2018-06-28 13:48:08 +0000
commit73d1c580f92b203f4c3a189ee98c917c65712f7e (patch)
treef5f4a1a5b4d02a109a2a60feec525d8a5aeb39eb /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentkbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION (diff)
downloadkernel-73d1c580f92b203f4c3a189ee98c917c65712f7e.tar.gz
kernel-73d1c580f92b203f4c3a189ee98c917c65712f7e.zip
kconfig: loop boundary condition fix
If buf[-1] just happens to hold the byte 0x0A, then nread can wrap around to (size_t)-1, leading to invalid memory accesses. This has caused segmentation faults when trying to build the latest kernel snapshots for i686 in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1592374 Signed-off-by: Jerry James <[email protected]> [[email protected]: reformatted patch for submission] Signed-off-by: Alexander Ploumistos <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions