Skip to content

Commit

Permalink
swarm 3.1.2: Fix crash with fastidious mode
Browse files Browse the repository at this point in the history
  • Loading branch information
torognes committed Nov 10, 2022
1 parent a46bf32 commit e47c80e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion man/swarm.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/swarm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit e47c80e

Please sign in to comment.