From f3952af4059e6d81b3b33baa04034252674b91df Mon Sep 17 00:00:00 2001 From: toshinagata1964 Date: Sat, 15 Feb 2014 16:23:14 +0000 Subject: [PATCH] Ruby: IntGroup#inspect caused crash when the result exceeds 64 bytes. Fixed. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@433 a2be9bc6-48de-4e38-9406-05402d4bc13c --- MolLib/IntGroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MolLib/IntGroup.c b/MolLib/IntGroup.c index e41194a..697ec27 100755 --- a/MolLib/IntGroup.c +++ b/MolLib/IntGroup.c @@ -931,6 +931,7 @@ IntGroupInspect(const IntGroup *pset) if (s == NULL) return NULL; /* Out of memory */ } + len += len2; strcat(s, buf); } return s; /* The caller needs to free the return value */ -- 2.11.0