diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-03-01 18:40:23 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-03-01 18:40:23 +0000 |
commit | 3b851bc488d064fd6b6419d2dfbdc83bf24d5219 (patch) | |
tree | fac0b51c6570510c839690d4cddb8eee4a05effc /generator | |
parent | 2e2fed8ed6fce2036a3875be6cd54ebaffe0aa03 (diff) | |
download | netpbm-mirror-3b851bc488d064fd6b6419d2dfbdc83bf24d5219.tar.gz netpbm-mirror-3b851bc488d064fd6b6419d2dfbdc83bf24d5219.tar.xz netpbm-mirror-3b851bc488d064fd6b6419d2dfbdc83bf24d5219.zip |
Fix rejection of <> in ASCII-85 input
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4508 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rw-r--r-- | generator/pbmtextps.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/generator/pbmtextps.c b/generator/pbmtextps.c index 46d53ac6..2a1173de 100644 --- a/generator/pbmtextps.c +++ b/generator/pbmtextps.c @@ -248,11 +248,8 @@ formatNonemptyAscii85(const char * const inbuff, for (inIdx = startIdx; inIdx <= endIdx; ++inIdx) { switch (inbuff[inIdx]) { - case '<': case '~': - case '>': - pm_error("Misplaced character '%c' in Ascii 85 input string", - inbuff[inIdx]); + pm_error("Misplaced character '~' in Ascii 85 input string"); break; case '\f': case '\n': |