aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-09-30 15:38:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-10-06 22:27:28 -0400
commit120642726ecb1b7a266f5c21bec90821e1154509 (patch)
treeefc44c86abc85462f080f44b96a243b475539b4e /tools/perf/scripts/python/export-to-postgresql.py
parentscsi: qla4xxx: Fix typos in comments (diff)
downloadlinux-120642726ecb1b7a266f5c21bec90821e1154509.tar.gz
linux-120642726ecb1b7a266f5c21bec90821e1154509.zip
scsi: libfc: Prevent integer overflow in fc_fcp_recv_data()
The "offset" comes from the skb->data that we received. Here the code is verifying that "offset + len" is within bounds however it does not take integer overflows into account. Use size_add() to be safe. This would only be an issue on 32bit systems which are probably a very small percent of the users. Still, it's worth fixing just for correctness sake. Fixes: 42e9a92fe6a9 ("[SCSI] libfc: A modular Fibre Channel library") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Message-Id: <aNvPMet7TPtM9CY1@stanley.mountain> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions