Fix off-by-one error
The value of p after adding the last entry in the gap table is not used. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
b2bc1712a5
commit
30b0378008
1 changed files with 1 additions and 0 deletions
|
@ -2194,6 +2194,7 @@ static const unsigned char small_prime_gaps[] = {
|
||||||
14, 4, 2, 4, 14, 4, 2, 4,
|
14, 4, 2, 4, 14, 4, 2, 4,
|
||||||
20, 4, 8, 10, 8, 4, 6, 6,
|
20, 4, 8, 10, 8, 4, 6, 6,
|
||||||
14, 4, 6, 6, 8, 6, /*reaches 997*/
|
14, 4, 6, 6, 8, 6, /*reaches 997*/
|
||||||
|
0 /* the last entry is effectively unused */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue