diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2021-04-26 18:59:48 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2021-04-29 12:12:32 -0400 |
| commit | 338f4a78cc0078e5f59780fe883084c26842157b (patch) | |
| tree | e629cb1aafacc7f7f50e0a83413744e961d45970 /pceplib/test/pcep_msg_objects_test.c | |
| parent | 6c55ee964e600cba385afabb8438b9d09eb509f2 (diff) | |
bgpd: avoid allocating very large stack buffer
As pointed out on code review of BGP extended messages, increasing the
maximum BGP message size has the consequence of growing the dynamically
sized stack buffer up to 650K. While unlikely to exceed modern stack
sizes it is still unreasonably large. Remedy this with a heap buffer.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'pceplib/test/pcep_msg_objects_test.c')
0 files changed, 0 insertions, 0 deletions
