]> git.kaiwu.me - nginx.git/commitdiff
QUIC: fixed dead store assignment.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 24 Aug 2021 10:03:46 +0000 (13:03 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 24 Aug 2021 10:03:46 +0000 (13:03 +0300)
Found by Clang Static Analyzer.

src/event/quic/ngx_event_quic_tokens.c

index 4387a4495466e3aff490d2f077a62aa08a1c3cf6..7b7f03e3ff29e98b5b6608cc8a0f76c1b4e55aea 100644 (file)
@@ -259,7 +259,6 @@ ngx_quic_validate_token(ngx_connection_t *c, u_char *key,
         }
 
         odcid.data = p;
-        p += odcid.len;
     }
 
     now = ngx_time();