Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176854541
D41011.1793513079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
268 B
Referenced Files
None
Subscribers
None
D41011.1793513079.diff
View Options
diff --git a/lib/libc/string/bcmp.c b/lib/libc/string/bcmp.c
--- a/lib/libc/string/bcmp.c
+++ b/lib/libc/string/bcmp.c
@@ -51,7 +51,7 @@
p2 = (char *)b2;
do
if (*p1++ != *p2++)
- break;
+ return (1);
while (--length);
- return (length);
+ return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 1, 6:04 AM (13 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41264463
Default Alt Text
D41011.1793513079.diff (268 B)
Attached To
Mode
D41011: lib/libc/string/bcmp.c: fix integer overflow bug
Attached
Detach File
Event Timeline