summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2021-05-24 08:30:26 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2021-05-24 08:30:26 -0300
commit0f8443653dc210b7a982971105eaf380105043e3 (patch)
treecea111376ae030bf2e6bbe4b51b3bb9dc81b543e /python/clidef.py
parent7b4e9d3cfc47678fb44ce7ded38321be702e86be (diff)
ospf6d: fix address sanitizer crash
Don't `memcpy` a `struct prefix` the memory size varies depending on the original intended type. In this case the original type was (casted away) `struct prefix_ipv6` and we tried to copy `struct prefix` which is bigger. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions