aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorGeorge Kennedy <[email protected]>2020-07-31 12:33:11 -0400
committerGreg Kroah-Hartman <[email protected]>2020-08-18 13:22:55 +0200
commit39b3cffb8cf3111738ea993e2757ab382253d86a (patch)
tree8daabc30f6172e7e5c6acff872bdea89ad749c0a /lib/test_overflow.c
parentf8d1653daec02315e06d30246cff4af72e76e54e (diff)
fbcon: prevent user font height or width change from causing potential out-of-bounds access
Add a check to fbcon_resize() to ensure that a possible change to user font height or user font width will not allow a font data out-of-bounds access. NOTE: must use original charcount in calculation as font charcount can change and cannot be used to determine the font data allocated size. Signed-off-by: George Kennedy <[email protected]> Cc: stable <[email protected]> Reported-by: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions