summaryrefslogtreecommitdiff
path: root/lib/libfrr.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-07-20 16:43:17 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2022-10-07 18:51:35 +0000
commited22409dc5cf0969a74310c1c2807d873a5a56f2 (patch)
treea1eb778f99d7b150f5cbd2ccc324b96cd35339de /lib/libfrr.c
parentf05026875d93f26df1350beee505d4718ee83c0c (diff)
ospfclient: Ensure ospf_apiclient_lsa_originate cannot accidently write into stack
Even though OSPF_MAX_LSA_SIZE is quite large and holds the upper bound on what can be written into a lsa, let's add a small check to ensure it is not possible to do a bad thing. This wins one of the long standing bug awards. 2003! Fixes: #11602 Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit d2aeac38708d93fb028d6a53e6eea317f0c06d1b)
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions