Skip to content
Commit 9d41b6ad authored by Michael Chan's avatar Michael Chan Committed by Adrian Bunk
Browse files

[TG3]: Fix array overrun in tg3_read_partno().



Use proper upper limits for the loops and check for all error
conditions.

The problem was noticed by Adrian Bunk.

Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent de6c0ccf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment