diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2022-07-06 07:52:17 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2022-07-06 07:52:17 -0300 |
| commit | f14233edbded0f2acccdf491b2173debd5c836e6 (patch) | |
| tree | 1e55797022b466f2da63b8a54e873ff50c3f69d3 /lib/command_graph.c | |
| parent | 500fe387a0e4ff474e3f85a317ac73f733dccf01 (diff) | |
bfdd: fix coverity memory overrun
Use the destination for the operator `sizeof()` instead of the source
which could (and is) be bigger than destination.
We are not truncating any data here it just happens that the zebra
interface data structure hardware address can be bigger due to different
types of interface.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions
