Skip to content

Fix segmentation fault in SentenceDataFlow#3

Open
mullovc wants to merge 1 commit intoisl-mt:masterfrom
mullovc:SentenceDataFlow-segfault-patch
Open

Fix segmentation fault in SentenceDataFlow#3
mullovc wants to merge 1 commit intoisl-mt:masterfrom
mullovc:SentenceDataFlow-segfault-patch

Conversation

@mullovc
Copy link

@mullovc mullovc commented Jul 26, 2021

Due to a missing check the SentenceDataFlow will segfault upon accessing the empty result vector.
Fix this by adding the missing check for emptiness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant