Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-smtp: client: Fix assertion panic occurring when DATA dot stream …
…cannot be finished immediately. If o_stream_finish() returns 0, o_stream_send_istream() would be called again later which causes the panic. Instead, it should only call o_stream_finish() or o_stream_flush() again to finish the last bit of the output. Panic was: Panic: file ostream.c: line 394 (o_stream_send_istream): assertion failed: (!_outstream->finished)
- Loading branch information
1 parent
07660d3
commit e3dc647
Showing
2 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters