Skip to content
Commit 77244aae authored by Tim Lin's avatar Tim Lin Committed by Henrik Brix Andersen
Browse files

ITE: drivers/gpio: Fix untrusted loop bound



The pin in the loop start counting from 0, so the condition of the
for loop should not be equal to num_pins.

Fixes #69118

Signed-off-by: default avatarTim Lin <tim2.lin@ite.corp-partner.google.com>
parent ca371d68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment