diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-11-21 18:55:59 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-11-22 03:26:31 -0500 |
| commit | 73bfd76d65ec4ac0fb1b3f6a0566b702458dd48b (patch) | |
| tree | 705d3edbbe33c3b5bddbcbff7b018a0d006efcdb /lib/northbound_cli.c | |
| parent | 91085f974a29a43bf6ec6f2c1b13df281837bd88 (diff) | |
bgpd: fix heap buffer overflow in lcom -> str enc
Spaces were not being accounted for in the heap buffer sizing, leading
to a heap buffer overflow when encoding large communities to their
string representations.
This patch also uses safer functions to do the encoding instead of
pointer math.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
