Skip to content

Commit

Permalink
Merge pull request #17422 from opensourcerouting/fix/coverity_bgp_color
Browse files Browse the repository at this point in the history
bgpd: Fix color extended community parsing
  • Loading branch information
mjstapp authored Nov 14, 2024
2 parents f2f6d1c + 8e771bd commit e2d9e19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bgpd/bgp_ecommunity.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,6 @@ static const char *ecommunity_gettoken(const char *str, void *eval_ptr,
if (*endptr != '\0' || tmp_as > BGP_AS4_MAX ||
errno)
goto error;
if (*token == ecommunity_token_color && as > 3)
goto error;
as = (as_t)tmp_as;
}
} else if (*p == '.') {
Expand Down

0 comments on commit e2d9e19

Please sign in to comment.