aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-08-21 10:11:22 +0300
committerGreg Kroah-Hartman <[email protected]>2019-08-22 14:28:10 -0700
commit6123f1fe53985645992b2ff648b3087b77b3ed16 (patch)
treeac8aa27582f93b48953bb335e0a1252bb0f1bf58 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent56a635c0ec14950bd6a5bfb4d9d497897f64179f (diff)
misc: xilinx_sdfec: Prevent integer overflow in xsdfec_table_write()
The checking here needs to handle integer overflows because "offset" and "len" come from the user. Fixes: 20ec628e8007 ("misc: xilinx_sdfec: Add ability to configure LDPC") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Michal Simek <[email protected]> Reviewed-by: Dragan Cvetic <[email protected]> Link: https://lore.kernel.org/r/20190821071122.GD26957@mwanda Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions