aboutsummaryrefslogtreecommitdiff
path: root/net/unix/scm.c
diff options
context:
space:
mode:
authorWei Chen <[email protected]>2023-03-15 08:33:47 +0000
committerHelge Deller <[email protected]>2023-03-16 16:18:16 +0100
commitd823685486a3446d061fed7c7d2f80af984f119a (patch)
tree8cb44ddb2b1532c2a9c40d4b32929a83b383a26e /net/unix/scm.c
parent92e2a00f2987483e1f9253625828622edd442e61 (diff)
fbdev: intelfb: Fix potential divide by zero
Variable var->pixclock is controlled by user and can be assigned to zero. Without proper check, divide by zero would occur in intelfbhw_validate_mode and intelfbhw_mode_to_hw. Error out if var->pixclock is zero. Signed-off-by: Wei Chen <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions