New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null pointer in iter_stream.h #2104
Comments
By the way, I tested it using g++-5.2.0 and g++-6.2.0 |
Hi @singerj, Why do you need this patch? Since |
Hi @smehringer, thanks for the reply. The code changes from above are not meant to be a patch, but much rather should only show the problem. If I use -fsanitize=undefined,float-cast-overflow,float-divide-by-zero as compiler options for gcc(5.2.0/6.2.0) I get the following results on the original code:
Note that this problem is also present in seqan2.3.2 and most likely in the develop branch as there are no code changes for the involved data types. |
Hi @smehringer, are there any news? Cheers, |
@smehringer |
[FIXED-#2104] Fixes sanitiser issue with StreamBuffer implementation.
[FIXED-seqan#2104] Fixes sanitiser issue with StreamBuffer implementation.
Dear all,
There seems to be an issue with the casting in iter_stream.h.
When applying the following patch:
example
seqan/demos/tutorial/sam_and_bam_io/example1.cpp
will throw
streamBuf: (nil)
Best,
Jochen
The text was updated successfully, but these errors were encountered: