The Samba-Bugzilla – Attachment 1181 Details for
Bug 2659
potential buffer overflow in torture
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Correct calculation of max len for slprintf
torture.diff (text/plain), 500 bytes, created by
Lars Müller
on 2005-04-27 09:24:15 UTC
(
hide
)
Description:
Correct calculation of max len for slprintf
Filename:
MIME Type:
Creator:
Lars Müller
Created:
2005-04-27 09:24:15 UTC
Size:
500 bytes
patch
obsolete
>Author: Lars Mueller <lmuelle at SuSE dot de> >Subject: potential buffer overflow in torture >Bugzilla: bugzilla.Samba.org #2659 > >Index: source/torture/torture.c >=================================================================== >--- source/torture/torture.c (Revision 6432) >+++ source/torture/torture.c (Arbeitskopie) >@@ -712,7 +712,7 @@ > > nb_setup(cli); > >- slprintf(cname,sizeof(fname), "client%d", client); >+ slprintf(cname,sizeof(cname)-1, "client%d", client); > > f = fopen(client_txt, "r"); >
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 Raw
Actions:
View
Attachments on
bug 2659
: 1181