Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110614169
D17950.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
360 B
Referenced Files
None
Subscribers
None
D17950.diff
View Options
Index: head/contrib/nvi/common/encoding.c
===================================================================
--- head/contrib/nvi/common/encoding.c
+++ head/contrib/nvi/common/encoding.c
@@ -96,7 +96,7 @@
if (i >= nbytes)
goto done;
- if (buf[i] & 0x40) /* 10xxxxxx */
+ if ((buf[i] & 0xc0) != 0x80) /* 10xxxxxx */
return -1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 21, 10:21 PM (2 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16762098
Default Alt Text
D17950.diff (360 B)
Attached To
Mode
D17950: PR202290: vi: fix illegal utf-8 sequence detection
Attached
Detach File
Event Timeline
Log In to Comment