diff options
| author | Mark Stapp <mjs.ietf@gmail.com> | 2024-11-14 08:27:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-14 08:27:47 -0500 |
| commit | e2d9e192823ab1fcdd0691955972b1bcfbc84d12 (patch) | |
| tree | d76dbe3c5f79c28c01b82c17beaacfb0c8942e11 | |
| parent | f2f6d1ce0a73b06d8fbe5fb77c880df067077efa (diff) | |
| parent | 8e771bda840e189eed2851f63ad80cb1a235f40f (diff) | |
Merge pull request #17422 from opensourcerouting/fix/coverity_bgp_color
bgpd: Fix color extended community parsing
| -rw-r--r-- | bgpd/bgp_ecommunity.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index 065f4fef37..5935028a59 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -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 == '.') { |
