[cff] Fix numeric overflow.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10988 * src/cff/cffparse.c (cff_parser_run) [CFF_CONFIG_OPTION_OLD_ENGINE]: Use `NEG_LONG'.
This commit is contained in:
parent
acb19ed4e9
commit
ba62f9d8f5
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2018-10-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Fix numeric overflow.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10988
|
||||
|
||||
* src/cff/cffparse.c (cff_parser_run)
|
||||
[CFF_CONFIG_OPTION_OLD_ENGINE]: Use `NEG_LONG'.
|
||||
|
||||
2018-10-27 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[sfnt] Make `head' timestamps unsigned.
|
||||
|
|
|
@ -1259,7 +1259,7 @@
|
|||
|
||||
if ( *stack < 0 )
|
||||
{
|
||||
num = (FT_ULong)-*stack;
|
||||
num = (FT_ULong)NEG_LONG( *stack );
|
||||
neg = 1;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue