You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/arb/files/5.1-bfr-overflow.patch

17 lines
715 B

ARB_GDE/GDE_HGLfile.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ARB_GDE/GDE_HGLfile.cxx b/ARB_GDE/GDE_HGLfile.cxx
index e353a89..f69635a 100644
--- a/ARB_GDE/GDE_HGLfile.cxx
+++ b/ARB_GDE/GDE_HGLfile.cxx
@@ -494,7 +494,7 @@ void ReadGDE(char *filename,NA_Alignment *dataset,int type)
if(this_elem->id[0] == '\0')
strncpy(this_elem->id,uniqueID(),79);
if(this_elem->short_name[0] == '\0')
- strncpy(this_elem->short_name,this_elem->id,79);
+ strncpy(this_elem->short_name,this_elem->id,31);
if(this_elem->seqlen == 0)
this_elem->protect=
PROT_BASE_CHANGES+