Commit d718b46
net: ipv6: Do not access link address past array length
It is possible to manually set link address length past 6 at runtime
and trying to check IPv6 ll address that way. This should fail
as we could read two bytes past the address buffer.
Coverity-CID: 516242
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>1 parent e44ed8d commit d718b46
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1539 | 1543 | | |
1540 | 1544 | | |
1541 | 1545 | | |
| |||
0 commit comments