diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-11-22 02:49:45 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-03 14:06:31 -0500 |
| commit | f69aeb7696461fc333dc8b12a55f8160a80db1fc (patch) | |
| tree | 40ff8f44f6110e01eb6f5550de0e5201ae633ac6 /doc/manpages/conf.py | |
| parent | f8034506de01e8f77ff470acec3fdbbd9a05dd2d (diff) | |
bgpd: fix missing bounds checks for psid attr
Guess what - for a bounds check to work, it has to happen *before* you
read the data. We were trusting the attribute field received in a prefix
SID attribute and then checking if it was correct afterwards, but if was
wrong we'd crash before that.
This fixes the problem, and adds additional paranoid bounds checks.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'doc/manpages/conf.py')
0 files changed, 0 insertions, 0 deletions
