diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-05-24 08:30:26 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-05-24 08:30:26 -0300 |
| commit | 0f8443653dc210b7a982971105eaf380105043e3 (patch) | |
| tree | cea111376ae030bf2e6bbe4b51b3bb9dc81b543e /lib/openbsd-queue.h | |
| parent | 7b4e9d3cfc47678fb44ce7ded38321be702e86be (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 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions
