1 |
jlec 10/10/03 08:28:36 |
2 |
|
3 |
Added: 6.51.081122-overflow.patch |
4 |
Log: |
5 |
Fixes for overflows, 337779 |
6 |
|
7 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-chemistry/prekin/files/6.51.081122-overflow.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/files/6.51.081122-overflow.patch?rev=1.1&view=markup |
13 |
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 |
14 |
|
15 |
Index: 6.51.081122-overflow.patch |
16 |
=================================================================== |
17 |
diff --git a/PKIN.h b/PKIN.h |
18 |
index 6cb6670..c9c6b89 100755 |
19 |
--- a/PKIN.h |
20 |
+++ b/PKIN.h |
21 |
@@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; |
22 |
EXTERN char aspectstrnext[MAXaspects+3]; /*in parens: (XXXX)*/ |
23 |
|
24 |
/* possible overlap with earlier PREKIN variables */ |
25 |
-EXTERN char word[256],texts[256],temps[256]; |
26 |
-EXTERN char alertstr[256],alertstr2[256],alertstr3[256]; |
27 |
+EXTERN char word[256],texts[256],temps[512]; |
28 |
+EXTERN char alertstr[1024],alertstr2[256],alertstr3[256]; |
29 |
EXTERN char oldstr[256],olderstr[256],newstr[256],InfoStr[256],MolNameStr[16]; |
30 |
EXTERN char NameStr[256],OutfileStr[256],ScriptinStr[256],ShortNameStr[256]; |
31 |
EXTERN char DirStr[256],PDBfileStr[256],helpoutStr[256]; /*040425 helpout*/ |
32 |
diff --git a/PKINCOUT.c b/PKINCOUT.c |
33 |
index af8eb24..a9f3a5f 100755 |
34 |
--- a/PKINCOUT.c |
35 |
+++ b/PKINCOUT.c |
36 |
@@ -17,7 +17,7 @@ static float VRMLx=0,VRMLy=0,VRMLz=0; |
37 |
void writeoutput() |
38 |
{ |
39 |
char cntl[5]; /* 4 actual characters */ |
40 |
- char kol[20],extra[256],aname[13]; |
41 |
+ char kol[20],extra[256],aname[32]; |
42 |
char chain[32],atoms[32],cpks[32],hygen[32],hbond[32]; |
43 |
char subname[32],allstr[32]; |
44 |
char mastername[32]; /*051128*/ |