diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-19 14:49:58 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-20 16:23:29 +0200 |
| commit | 84aaf8d32a8f321d6b7ec3fe2d67376368685f53 (patch) | |
| tree | e41cb1faadf06874fe164a16cd0718ba97f48c95 /lib/frr_pthread.c | |
| parent | fec51f2e2be021108dc1de4dd1ea89516082eaf7 (diff) | |
isisd: fix overrun in isis_flex_algo_constraint_drop()
Coverity scanner reported the overrun issue #1560312 because
reach->id length is 7 bytes and we are trying to copy 8 bytes
(ie. ISIS_SYS_ID_LEN + 2).
Fix the issue by using the %pPN to display directly the 7 bytes
system-id.
Fixes: 860b75b40e ("isisd: calculate flex-algo constraint spf")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/frr_pthread.c')
0 files changed, 0 insertions, 0 deletions
