From 4b44baa371e195c5958a9131ad03b365e8b13c1b Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 9 Aug 2010 07:47:08 +0000 Subject: [PATCH] (decode_coding_iso_2022): Sanitize "if" condition. --- src/coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coding.c b/src/coding.c index 179ad69..5fb2c07 100644 --- a/src/coding.c +++ b/src/coding.c @@ -1836,7 +1836,7 @@ decode_coding_iso_2022 (const unsigned char *source, int src_bytes, MText *mt, int bytes; int i; - if (! spec->flags & MCODING_ISO_DESIGNATION_CTEXT_EXT) + if (! (spec->flags & MCODING_ISO_DESIGNATION_CTEXT_EXT)) goto invalid_byte; /* Compound-text uses these escape sequences: -- 1.7.10.4