Skip to content

Commit 1f8a1c3

Browse files
committed
Increase 'cigar_buf' size to reduce risk of buffer overflow
1 parent 06a6074 commit 1f8a1c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ biocViews: Infrastructure, DataImport, Genetics, Sequencing, RNASeq, SNP,
1010
URL: https://bioconductor.org/packages/GenomicAlignments
1111
Video: https://www.youtube.com/watch?v=2KqBSbkfhRo , https://www.youtube.com/watch?v=3PK_jx44QTs
1212
BugReports: https://github.com/Bioconductor/GenomicAlignments/issues
13-
Version: 1.35.0
13+
Version: 1.35.1
1414
License: Artistic-2.0
1515
Encoding: UTF-8
1616
Authors@R: c(

src/cigar_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ static const char *Rnarrow_cigar_string(SEXP cigar_string,
845845
return errmsg_buf;
846846
}
847847

848-
#define CIGAR_BUF_LENGTH 50000
848+
#define CIGAR_BUF_LENGTH 250000
849849

850850
/* FIXME: 'cigar_buf' is under the risk of a buffer overflow! */
851851
static const char *narrow_cigar_string(SEXP cigar_string,

0 commit comments

Comments
 (0)