diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-09-16 22:12:39 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-09-16 22:12:39 +0000 |
commit | 3613f8e4f3d3ffeb2b3e68126369e9463d4df65a (patch) | |
tree | 7970b602298d68e874ff225be9ae95c93df4d2d9 /Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c | |
parent | 12b257238b111240034611a07690f2c023973d87 (diff) |
freetype 2.8.1
git-svn-id: svn://tug.org/texlive/trunk@45324 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c')
-rw-r--r-- | Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c b/Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c index b0924821941..d125b0834a4 100644 --- a/Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c +++ b/Build/source/libs/freetype2/freetype-src/src/psaux/psconv.c @@ -111,6 +111,10 @@ p++; if ( p == limit ) goto Bad; + + /* only a single sign is allowed */ + if ( *p == '-' || *p == '+' ) + return 0; } num_limit = 0x7FFFFFFFL / base; @@ -215,6 +219,10 @@ p++; if ( p == limit ) goto Bad; + + /* only a single sign is allowed */ + if ( *p == '-' || *p == '+' ) + return 0; } /* read the integer part */ |