summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_internal.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-08-21 18:27:23 +0200
committerBenoît Ganne <bganne@cisco.com>2019-08-21 18:30:57 +0200
commit747b3d8b0e045edb166738ecde99dcc951212988 (patch)
treec62800ea30c3f1c0ef22c519722af6657b6cf585 /src/vnet/fib/fib_internal.h
parenta436a42221280888acd09858c7353e694c359bca (diff)
vcl: fix ldp_set_app_name overflow
In case of overflow, we null-terminate the parameter ('app_name') instead of ldp global name ('ldp->app_name'). Moreover, snprintf() always safely null-terminate the destination string even in case of overflow. Type: fix Fixes: 048b1d6ab7 Change-Id: I4d8b0e020a228e982b6699d652b341c5afe92993 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_internal.h')
0 files changed, 0 insertions, 0 deletions