Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 253949 Details for
Bug 337903
net-misc/sipcalc _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]
Patch to sipcalc-1.1.4.ebuild to fix reported overflow (and one other warning)
sipcalc-1.1.4.ebuild.patch (text/plain), 1.01 KB, created by
Kevin Pyle
on 2010-11-11 03:45:08 UTC
(
hide
)
Description:
Patch to sipcalc-1.1.4.ebuild to fix reported overflow (and one other warning)
Filename:
MIME Type:
Creator:
Kevin Pyle
Created:
2010-11-11 03:45:08 UTC
Size:
1.01 KB
patch
obsolete
>diff -ru a/sipcalc-1.1.4.ebuild b/sipcalc-1.1.4.ebuild >--- a/sipcalc-1.1.4.ebuild 2009-09-23 20:06:50.000000000 +0000 >+++ b/sipcalc-1.1.4.ebuild 2010-11-11 03:22:50.262299304 +0000 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-misc/sipcalc/sipcalc-1.1.4.ebuild,v 1.4 2009/09/23 19:44:24 patrick Exp $ > >+EAPI="2" >+ > DESCRIPTION="Sipcalc is an advanced console-based IP subnet calculator." > HOMEPAGE="http://www.routemeister.net/projects/sipcalc/" > SRC_URI="http://www.routemeister.net/projects/${PN}/files/${P}.tar.gz" >@@ -12,6 +14,17 @@ > > DEPEND="" > >+src_prepare() { >+ # Fix "format not a string literal" >+ sed -i \ >+ -e 's/snprintf.*16,/& "%s",/' \ >+ src/sub-output.c || die >+ # Fix "will always overflow destination buffer" >+ sed -i \ >+ -e 's/\(snprintf(\(ifarg_cur->errorstr\), \)127/\1sizeof(\2)/' \ >+ src/sub.c || die >+} >+ > src_install() { > make DESTDIR="${D}" install || die "make install failed" > dodoc ChangeLog AUTHORS NEWS README TODO
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 337903
:
247813
| 253949