Hi James,
On 10/25/19 11:53 AM, James Prestwood wrote:
When updating the network ranking there was a potential out of
bounds
array access. The condition was if known_network_offset returned a
negative value, indicating the known network was not found. Since
network->info is only set for known networks this should not ever
happen as network->info is checked prior.
Though this is likely impossible, knownnetworks is complex enough that
its better to just be paranoid and put an L_WARN_ON to check the
return.
---
src/network.c | 2 ++
1 file changed, 2 insertions(+)
Applied, thanks.
Regards,
-Denis