Skip to content
Snippets Groups Projects
Commit 72502e86 authored by Andy Green's avatar Andy Green
Browse files

coverity 169276-9 - false positive assuming 8b char: char limits index size

parent d11bee7f
Branches
Tags
No related merge requests found
......@@ -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];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment