From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RJ9k0-0000yl-21 for garchives@archives.gentoo.org; Wed, 26 Oct 2011 20:06:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D562721C294; Wed, 26 Oct 2011 20:06:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A9F3D21C271 for ; Wed, 26 Oct 2011 20:06:16 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11BF91B402C for ; Wed, 26 Oct 2011 20:06:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 7971280042 for ; Wed, 26 Oct 2011 20:06:15 +0000 (UTC) From: "Reinis Danne" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Reinis Danne" Message-ID: <6aa7d44ede601366a744a0cd2929b4bdef11a670.rei4dan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/ambertools/files/, sci-chemistry/ambertools/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/ambertools/ChangeLog sci-chemistry/ambertools/files/ambertools-1.5-gentoo2.patch X-VCS-Directories: sci-chemistry/ambertools/files/ sci-chemistry/ambertools/ X-VCS-Committer: rei4dan X-VCS-Committer-Name: Reinis Danne X-VCS-Revision: 6aa7d44ede601366a744a0cd2929b4bdef11a670 Date: Wed, 26 Oct 2011 20:06:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 6a651c3441e99c0f840f38cbdaa8edbd commit: 6aa7d44ede601366a744a0cd2929b4bdef11a670 Author: Reinis Danne gmail com> AuthorDate: Wed Oct 26 20:05:07 2011 +0000 Commit: Reinis Danne gmail com> CommitDate: Wed Oct 26 20:05:07 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D6aa7d44e sci-chemistry/ambertools: Fix possible buffer overflow --- sci-chemistry/ambertools/ChangeLog | 4 ++++ .../ambertools/files/ambertools-1.5-gentoo2.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/sci-chemistry/ambertools/ChangeLog b/sci-chemistry/ambertool= s/ChangeLog index 08267f6..50f0545 100644 --- a/sci-chemistry/ambertools/ChangeLog +++ b/sci-chemistry/ambertools/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ambertools/ChangeLog,v = 1.2 2011/08/02 14:42:37 alexxy Exp $ =20 + 26 Oct 2011; Reinis Danne + files/ambertools-1.5-gentoo2.patch: + Fix possible buffer overflow. + *ambertools-1.5-r2 (25 Oct 2011) =20 25 Oct 2011; Reinis Danne +ambertools-1.5-r2.ebuil= d, diff --git a/sci-chemistry/ambertools/files/ambertools-1.5-gentoo2.patch = b/sci-chemistry/ambertools/files/ambertools-1.5-gentoo2.patch index 3d82bbf..1023b50 100644 --- a/sci-chemistry/ambertools/files/ambertools-1.5-gentoo2.patch +++ b/sci-chemistry/ambertools/files/ambertools-1.5-gentoo2.patch @@ -305,6 +305,18 @@ diff -urN amber11.orig/AmberTools/src/ptraj/ptraj.h = amber11/AmberTools/src/ptraj #endif #endif =20 +diff -urN amber11.orig/AmberTools/src/ptraj/trajectory.c amber11/AmberTo= ols/src/ptraj/trajectory.c +--- amber11.orig/AmberTools/src/ptraj/trajectory.c 2011-03-10 20:12:15.0= 00000000 +0200 ++++ amber11/AmberTools/src/ptraj/trajectory.c 2011-10-26 22:25:04.192375= 511 +0300 +@@ -1314,7 +1314,7 @@ + { + fpos_t fileMarker; /* marker for current file postition */ + char *junk; +- char buffer[120]; ++ char buffer[BUFFER_SIZE]; + char coords[26]; /* room for 24 characters (3f8.3) + \n + (char) 0= */ + char c; =20 + int j,ret; diff -urN amber11.orig/AmberTools/src/rism/Makefile amber11/AmberTools/s= rc/rism/Makefile --- amber11.orig/AmberTools/src/rism/Makefile 2011-04-14 15:30:19.000000= 000 +0300 +++ amber11/AmberTools/src/rism/Makefile 2011-10-25 15:32:04.010129318 += 0300