* src/base/ftbbox.c (cubic_peak): Sanitize left shift (#56586).
This commit is contained in:
parent
d5522ac060
commit
12af46b649
@ -1,3 +1,7 @@
|
||||
2019-06-26 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/base/ftbbox.c (cubic_peak): Sanitize left shift (#56586).
|
||||
|
||||
2019-07-22 Weiyi Wu <w1w2y3@gmail.com>
|
||||
|
||||
* src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653).
|
||||
|
@ -294,10 +294,10 @@
|
||||
if ( shift > 2 )
|
||||
shift = 2;
|
||||
|
||||
q1 <<= shift;
|
||||
q2 <<= shift;
|
||||
q3 <<= shift;
|
||||
q4 <<= shift;
|
||||
q1 *= 1 << shift;
|
||||
q2 *= 1 << shift;
|
||||
q3 *= 1 << shift;
|
||||
q4 *= 1 << shift;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user