summaryrefslogtreecommitdiff
path: root/tools/gcc-plugins/format-test.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-07-20 16:43:17 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-07-22 13:17:58 -0400
commitd2aeac38708d93fb028d6a53e6eea317f0c06d1b (patch)
treedabaec3c151239d6da7ce7f32b79d439278f6de4 /tools/gcc-plugins/format-test.c
parentb8443f7ad39ce0429f53c286d04a84b6faaeef83 (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>
Diffstat (limited to 'tools/gcc-plugins/format-test.c')
0 files changed, 0 insertions, 0 deletions