Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 248581 Details for
Bug 301879
media-video/hasciicam-1.0 buffer overflow detected by _FORTIFY_SOURCE
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to hasciicam-1.0.ebuild to fix snprintf overflow
hasciicam-1.0.ebuild.patch (text/plain), 862 bytes, created by
Kevin Pyle
on 2010-09-25 04:49:27 UTC
(
hide
)
Description:
Patch to hasciicam-1.0.ebuild to fix snprintf overflow
Filename:
MIME Type:
Creator:
Kevin Pyle
Created:
2010-09-25 04:49:27 UTC
Size:
862 bytes
patch
obsolete
>diff -ru a/hasciicam-1.0.ebuild b/hasciicam-1.0.ebuild >--- a/hasciicam-1.0.ebuild 2008-11-24 16:38:25.000000000 +0000 >+++ b/hasciicam-1.0.ebuild 2010-09-25 04:43:02.623135542 +0000 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-video/hasciicam/hasciicam-1.0.ebuild,v 1.4 2008/11/24 16:15:36 ssuominen Exp $ > >+EAPI="2" >+ > DESCRIPTION="a webcam software displaying ascii art using aalib." > HOMEPAGE="http://ascii.dyne.org" > SRC_URI="ftp://ftp.dyne.org/${PN}/releases/${P}.tar.gz" >@@ -14,6 +16,10 @@ > RDEPEND="media-libs/aalib" > DEPEND="${RDEPEND}" > >+src_prepare() { >+ sed -i -e 's/snprintf.*/snprintf(html_header, sizeof(html_header),/' hasciicam.c || die >+} >+ > src_install() { > emake DESTDIR="${D}" install || die "emake install failed." > dodoc AUTHORS ChangeLog 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 301879
:
248128
| 248581