FreeBSD Bugzilla – Attachment 165470 Details for
Bug 206178
Out-of-bounds read in wcslcat(3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
wcslcat.patch (text/plain), 323 bytes, created by
Alexander Cherepanov
on 2016-01-12 22:46:48 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alexander Cherepanov
Created:
2016-01-12 22:46:48 UTC
Size:
323 bytes
patch
obsolete
>--- wcslcat.c 2016-01-12 21:04:44.000000000 +0300 >+++ wcslcat-fixed.c 2016-01-12 21:06:25.000000000 +0300 >@@ -54,7 +54,7 @@ > size_t dlen; > > /* Find the end of dst and adjust bytes left but don't go past end */ >- while (*d != '\0' && n-- != 0) >+ while (n-- != 0 && *d != '\0') > d++; > dlen = d - dst; > n = siz - dlen;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206178
:
165469
| 165470