Skip to content
Commit 250232c8 authored by Vijayenthiran Subramaniam's avatar Vijayenthiran Subramaniam Committed by tarek-arm
Browse files

cmn700: ccg: do bound check while getting ldid



get_ldid function returns the ldid based on the state of the port
aggregation. To avoid any potential buffer overflow, do boundary check
of ldid value with the total CCG node count.

Signed-off-by: Vijayenthiran Subramaniam's avatarVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Change-Id: I0c31484ccb00fa21ff25538206d27073e7fa1f41
parent ccc966af
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