public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/prekin/files: 6.51.081122-overflow.patch
@ 2010-10-03  8:28 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-10-03  8:28 UTC (permalink / raw
  To: gentoo-commits

jlec        10/10/03 08:28:36

  Added:                6.51.081122-overflow.patch
  Log:
  Fixes for overflows, 337779
  
  (Portage version: 2.2_rc88/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-chemistry/prekin/files/6.51.081122-overflow.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/files/6.51.081122-overflow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/files/6.51.081122-overflow.patch?rev=1.1&content-type=text/plain

Index: 6.51.081122-overflow.patch
===================================================================
diff --git a/PKIN.h b/PKIN.h
index 6cb6670..c9c6b89 100755
--- a/PKIN.h
+++ b/PKIN.h
@@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext;
 EXTERN char  aspectstrnext[MAXaspects+3]; /*in parens: (XXXX)*/
 
 /* possible overlap with earlier PREKIN variables */
-EXTERN char word[256],texts[256],temps[256];
-EXTERN char alertstr[256],alertstr2[256],alertstr3[256];
+EXTERN char word[256],texts[256],temps[512];
+EXTERN char alertstr[1024],alertstr2[256],alertstr3[256];
 EXTERN char oldstr[256],olderstr[256],newstr[256],InfoStr[256],MolNameStr[16];
 EXTERN char NameStr[256],OutfileStr[256],ScriptinStr[256],ShortNameStr[256];
 EXTERN char DirStr[256],PDBfileStr[256],helpoutStr[256]; /*040425 helpout*/
diff --git a/PKINCOUT.c b/PKINCOUT.c
index af8eb24..a9f3a5f 100755
--- a/PKINCOUT.c
+++ b/PKINCOUT.c
@@ -17,7 +17,7 @@ static float VRMLx=0,VRMLy=0,VRMLz=0;
 void   writeoutput()
 {
   char  cntl[5];  /* 4 actual characters */
-  char  kol[20],extra[256],aname[13];
+  char  kol[20],extra[256],aname[32];
   char  chain[32],atoms[32],cpks[32],hygen[32],hbond[32];
   char  subname[32],allstr[32];
   char  mastername[32]; /*051128*/






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-03  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03  8:28 [gentoo-commits] gentoo-x86 commit in sci-chemistry/prekin/files: 6.51.081122-overflow.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox