Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 418616 Details for
Bug 567608
sys-auth/skey: out of bounds stack read
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix out of bounds in skey
skey-fix-oob.diff (text/plain), 473 bytes, created by
Hanno Böck
on 2015-12-05 22:31:19 UTC
(
hide
)
Description:
fix out of bounds in skey
Filename:
MIME Type:
Creator:
Hanno Böck
Created:
2015-12-05 22:31:19 UTC
Size:
473 bytes
patch
obsolete
>--- aa/put.c 2015-12-05 23:25:16.859293288 +0100 >+++ skey-1.1.5/put.c 2015-12-05 23:25:30.513292266 +0100 >@@ -2081,10 +2081,13 @@ > */ > char *btoe(char *engout, const char *c) > { >- char cp[9]; /* add in room for the parity 2 bits */ >+ char cp[10]; /* add in room for the parity 2 bits + extract() slop */ > int p, i; > > engout[0] = '\0'; >+ >+ /* workaround for extract() reads beyond end of data */ >+ memset(cp, 0, sizeof(cp)); > memcpy(cp, c, 8); > > /* compute parity */
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 567608
: 418616 |
418674
|
418682