aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-05-06 17:53:52 +0300
committerThierry Reding <[email protected]>2022-05-10 15:35:52 +0200
commite30b64a3ab9b9640e25b2ee6d7a9d70c1efd3b67 (patch)
treed41de1afdca0de00b2e397ac9829c23926151c92 /scripts/gdb/linux/config.py
parent0668e8ccd33122a350629f6583c880b62b40ab5d (diff)
hte: Fix off by one in hte_push_ts_ns()
The &chip->gdev->ei[] array has chip->nlines elements so this > comparison needs to be >= to prevent an out of bounds access. The gdev->ei[] array is allocated in hte_register_chip(). Fixes: 31ab09b42188 ("drivers: Add hardware timestamp engine (HTE) subsystem") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Dipen Patel <[email protected]> Acked-by: Dipen Patel <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions