summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2026-05-07 20:58:10 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-12 09:39:02 +0200
commitc32fe4c4918c9aa49f61359e3b42619c4d8686de (patch)
treeae2853b04ae871d2fa048bf2a6b5503b8f119681 /tools/perf/scripts/python/bin/stackcollapse-record
parent79aef69bb0903616f4867f0168aea717a11c439c (diff)
media: staging: ipu3-imgu: Add range check for imgu_css_cfg_acc_stripe
If the driver's stripe information is invalid it can result in an integer underflow. Add a range check to avoid this kind of error. This patch fixes the following smatch error: drivers/staging/media/ipu3/ipu3-css-params.c:1792 imgu_css_cfg_acc_stripe() warn: 'acc->stripe.bds_out_stripes[0]->width - 2 * f' 4294967168 can't fit into 65535 'acc->stripe.bds_out_stripes[1]->offset' Cc: stable@vger.kernel.org Fixes: e11110a5b744 ("media: staging/intel-ipu3: css: Compute and program ccs") Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions