summaryrefslogtreecommitdiff
path: root/lib/printf/printf-pos.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2023-09-28 15:08:23 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2023-09-28 15:08:23 +0200
commiteb9e2865116777661c44963769c1a5fed764b7f9 (patch)
treec0bd00fee1518392956c318bbc4e97c1bc9bb709 /lib/printf/printf-pos.c
parent8640fc9c0a5e6118fe878970169b38ddc00e8390 (diff)
bgpd: do not check attr in bgp_packet_attribute
Fix the following coverity issue. attr cannot be NULL. > CID 1568376 (#1 of 1): Dereference before null check (REVERSE_INULL) > check_after_deref: Null-checking attr suggests that it may be null, but it has already been dereferenced on all paths leading to the check. Fixes: 8b531b1107 ("bgpd: store and send bgp link-state attributes") Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/printf/printf-pos.c')
0 files changed, 0 insertions, 0 deletions