coverity 169276-9 - false positive assuming 8b char: char limits index size
This commit is contained in:
parent
d11bee7fc5
commit
72502e86f5
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ sha1_to_lwsgw_hash(unsigned char *hash, lwsgw_hash *shash)
|
|||
int n;
|
||||
|
||||
for (n = 0; n < 20; n++) {
|
||||
*p++ = hex[hash[n] >> 4];
|
||||
*p++ = hex[(hash[n] >> 4) & 0xf];
|
||||
*p++ = hex[hash[n] & 15];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue