Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217012 Details for
Bug 301499
Buffer overflow in mail-filter/opendkim-1.2.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes a negative length for sprintf
patch.txt (text/plain), 971 bytes, created by
Tilman Giese
on 2010-01-20 22:31:06 UTC
(
hide
)
Description:
Patch that fixes a negative length for sprintf
Filename:
MIME Type:
Creator:
Tilman Giese
Created:
2010-01-20 22:31:06 UTC
Size:
971 bytes
patch
obsolete
>Index: dkim-rep.c >=================================================================== >RCS file: /cvsroot/opendkim/libopendkim/dkim-rep.c,v >retrieving revision 1.6 >retrieving revision 1.6.4.1 >diff -u -r1.6 -r1.6.4.1 >--- dkim-rep.c 22 Nov 2009 08:15:50 -0000 1.6 >+++ dkim-rep.c 20 Jan 2010 21:59:36 -0000 1.6.4.1 >@@ -4,11 +4,11 @@ > ** > ** Copyright (c) 2009, The OpenDKIM Project. All rights reserved. > ** >-** $Id: dkim-rep.c,v 1.6 2009/11/22 08:15:50 grooverdan Exp $ >+** $Id: dkim-rep.c,v 1.6.4.1 2010/01/20 21:59:36 cm-msk Exp $ > */ > > #ifndef lint >-static char dkim_rep_c_id[] = "@(#)$Id: dkim-rep.c,v 1.6 2009/11/22 08:15:50 grooverdan Exp $"; >+static char dkim_rep_c_id[] = "@(#)$Id: dkim-rep.c,v 1.6.4.1 2010/01/20 21:59:36 cm-msk Exp $"; > #endif /* !lint */ > > #include "build-config.h" >@@ -87,7 +87,7 @@ > snprintf((char *) cvt, len, "%02x", digest[c]); > cvt += 2; > out += 2; >- len -= out; >+ len -= 2; > } > > return out;
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 301499
: 217012