From: handa Date: Mon, 9 Aug 2010 07:47:08 +0000 (+0000) Subject: (decode_coding_iso_2022): Sanitize "if" condition. X-Git-Tag: REL-1-6-2~75 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b44baa371e195c5958a9131ad03b365e8b13c1b;p=m17n%2Fm17n-lib.git (decode_coding_iso_2022): Sanitize "if" condition. --- 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: