View | Details | Raw Unified | Return to bug 202290 | Differences between
and this patch

Collapse All | Expand All

(-)contrib/nvi/common/encoding.c (-1 / +1 lines)
Lines 96-102 Link Here
96
				if (i >= nbytes)
96
				if (i >= nbytes)
97
					goto done;
97
					goto done;
98
98
99
				if (buf[i] & 0x40)	/* 10xxxxxx */
99
				if ((buf[i] & 0xc0) != 0x10)	/* 10xxxxxx */
100
					return -1;
100
					return -1;
101
			}
101
			}
102
102

Return to bug 202290