Skip to content

Commit e47c80e

Browse files
committed
swarm 3.1.2: Fix crash with fastidious mode
1 parent a46bf32 commit e47c80e

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,12 @@ swarm 3.2.0:
418418

419419
## Version history ##
420420

421+
### version 3.1.2 ###
422+
423+
**swarm** 3.1.2 fixes a bug with fastidious mode introduced in version
424+
3.1.1, that could cause Swarm to crash. Probably due to allocating too
425+
much memory.
426+
421427
### version 3.1.1 ###
422428

423429
**swarm** 3.1.1 eliminates a risk of segmentation fault with extremely

man/swarm.1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" ============================================================================
2-
.TH swarm 1 "September 29, 2022" "version 3.1.1" "USER COMMANDS"
2+
.TH swarm 1 "November 10, 2022" "version 3.1.2" "USER COMMANDS"
33
.\" ============================================================================
44
.SH NAME
55
swarm \(em find clusters of nearly-identical nucleotide amplicons
@@ -527,6 +527,10 @@ New features and important modifications of \fBswarm\fR (short lived
527527
or minor bug releases are not mentioned):
528528
.RS
529529
.TP
530+
.BR v3.1.2\~ "released November 10, 2022"
531+
Fix a bug with fastidious mode introduced in version 3.1.1, that could
532+
cause Swarm to crash. Probably due to allocating too much memory.
533+
.TP
530534
.BR v3.1.1\~ "released September 29, 2022"
531535
Version 3.1.1 eliminates a risk of segmentation fault with extremely
532536
long sequence headers. Documentation and error messages have been

src/swarm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static_assert(INT_MAX > INT16_MAX, "Your compiler uses very short integers.");
104104

105105
/* constants */
106106

107-
const std::string swarm_version {"3.1.1"};
107+
const std::string swarm_version {"3.1.2"};
108108
constexpr char sepchar {' '};
109109
constexpr char dash_filename {'-'};
110110
constexpr unsigned int opt_differences_default {1};

0 commit comments

Comments
 (0)