]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Prevent direct copy of different size prefix'es 11156/head
authorDonald Sharp <sharpd@nvidia.com>
Sat, 7 May 2022 01:24:56 +0000 (21:24 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 7 May 2022 01:24:56 +0000 (21:24 -0400)
commit14678bfa0d1c6cbf4346085676b1458461a0faaf
tree5d25a7d9698a7ca36c2439ea449aaecd1c60f16a
parentae6ca0e643c0055a832aa3f50b8a3e51808f24e6
isisd: Prevent direct copy of different size prefix'es

Memory is allocated for a `struct prefix_ipv6` but
it was directly copied into a `struct prefix` via
direct pointer copy, which leads to a read past
end of memory.  Fix by using prefix_copy

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
isisd/isis_te.c