summaryrefslogtreecommitdiff
path: root/ospfclient/ospfclient.py
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2022-07-06 07:52:17 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2022-07-06 07:52:17 -0300
commitf14233edbded0f2acccdf491b2173debd5c836e6 (patch)
tree1e55797022b466f2da63b8a54e873ff50c3f69d3 /ospfclient/ospfclient.py
parent500fe387a0e4ff474e3f85a317ac73f733dccf01 (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 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions