]> git.proxmox.com Git - mirror_frr.git/commit
OSPFd: Correct Extended Prefix LSA refresh
authorOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 1 Feb 2018 13:30:34 +0000 (14:30 +0100)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 1 Feb 2018 13:30:34 +0000 (14:30 +0100)
commitdb28a51f7e3b7ada03994e1fb4eb027fc9b37f11
tree3ca34024e94af3e91d17a5142258e1e978775613
parent62c9979094a6e3a809aceeae2a97d34bf5645615
OSPFd: Correct Extended Prefix LSA refresh

 - When Extended Prefix LSA need to be refresh, paramaters may be
taken from the wrong interface i.e. Extended Link instead of Prefix
resulting in producing an empty LSA body. Then, ospfd crash due to the
assert on LSA length in ospf_lsa_different() function: code check that
the LSA size is larger than LSA header i.e. LSA is not empty.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_ext.c
ospfd/ospf_ext.h
ospfd/ospf_sr.c