summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2022-12-07 11:48:47 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2022-12-07 11:48:47 -0300
commitd49810329dcf1ea162d383557136be4770818259 (patch)
treeee38f38c75af662634491a2d8e03ca7654ef4ed7 /tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
parent1b97fa99769bf75752dc1cd898794e82ad11ece8 (diff)
pimd: fix MSDP crash on unexpected TLV sizes
Increase the MSDP peer stream buffer size to handle the whole TLV (maximum is 65KiB due to 16bit field). If the stream is not resized there will be a crash in the read function attempting to put more than 9192 (`PIM_MSDP_SA_TLV_MAX_SIZE`) bytes. According to the RFC 3618 Section 12 we should accept the TLV and we should not reset the peer connection. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py')
0 files changed, 0 insertions, 0 deletions