Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261021 Details for
Bug 337181
app-misc/clockywock _FORTIFY_SOURCE indicates presence of overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed to byte-assign the symbols instead of enlarging the buffer for \0
clockywock-0.2.3d-off-by-one.patch (text/plain), 423 bytes, created by
Kevin McCarthy (RETIRED)
on 2011-01-29 17:11:58 UTC
(
hide
)
Description:
Fixed to byte-assign the symbols instead of enlarging the buffer for \0
Filename:
MIME Type:
Creator:
Kevin McCarthy (RETIRED)
Created:
2011-01-29 17:11:58 UTC
Size:
423 bytes
patch
obsolete
>--- clockywock-0.2.3D.orig/clockywock.cpp 2011-01-28 13:50:27.879924172 -0500 >+++ clockywock-0.2.3D/clockywock.cpp 2011-01-29 12:04:38.326707732 -0500 >@@ -138,9 +138,9 @@ > symbol[2]=(char *)calloc(1,1); > symbol[3]=(char *)calloc(1,1); > >- sprintf(symbol[1],"m"); >- sprintf(symbol[2],"h"); >- sprintf(symbol[3],"s"); >+ *symbol[1]='m'; >+ *symbol[2]='h'; >+ *symbol[3]='s'; > > pct[HOUR]=60.0/100.0; > pct[MINUTE]=95.0/100.0;
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 337181
:
247195
|
260943
|
260945
| 261021