From e47c80ef5a68f93750a0eab0b48c0764ed0a189b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B8rn=20Rognes?= Date: Thu, 10 Nov 2022 12:57:31 +0100 Subject: [PATCH] swarm 3.1.2: Fix crash with fastidious mode --- README.md | 6 ++++++ man/swarm.1 | 6 +++++- src/swarm.h | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7cc9dc90..1308907b 100644 --- a/README.md +++ b/README.md @@ -418,6 +418,12 @@ swarm 3.2.0: ## Version history ## +### version 3.1.2 ### + +**swarm** 3.1.2 fixes a bug with fastidious mode introduced in version +3.1.1, that could cause Swarm to crash. Probably due to allocating too +much memory. + ### version 3.1.1 ### **swarm** 3.1.1 eliminates a risk of segmentation fault with extremely diff --git a/man/swarm.1 b/man/swarm.1 index b3d0a071..865f7b9f 100644 --- a/man/swarm.1 +++ b/man/swarm.1 @@ -1,5 +1,5 @@ .\" ============================================================================ -.TH swarm 1 "September 29, 2022" "version 3.1.1" "USER COMMANDS" +.TH swarm 1 "November 10, 2022" "version 3.1.2" "USER COMMANDS" .\" ============================================================================ .SH NAME swarm \(em find clusters of nearly-identical nucleotide amplicons @@ -527,6 +527,10 @@ New features and important modifications of \fBswarm\fR (short lived or minor bug releases are not mentioned): .RS .TP +.BR v3.1.2\~ "released November 10, 2022" +Fix a bug with fastidious mode introduced in version 3.1.1, that could +cause Swarm to crash. Probably due to allocating too much memory. +.TP .BR v3.1.1\~ "released September 29, 2022" Version 3.1.1 eliminates a risk of segmentation fault with extremely long sequence headers. Documentation and error messages have been diff --git a/src/swarm.h b/src/swarm.h index 83923ddb..c86a4e90 100644 --- a/src/swarm.h +++ b/src/swarm.h @@ -104,7 +104,7 @@ static_assert(INT_MAX > INT16_MAX, "Your compiler uses very short integers."); /* constants */ -const std::string swarm_version {"3.1.1"}; +const std::string swarm_version {"3.1.2"}; constexpr char sepchar {' '}; constexpr char dash_filename {'-'}; constexpr unsigned int opt_differences_default {1};