-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
894: Fix error-reporting crash in non-blocking connection.
Fixes: #894 If construction of a non-blocking `connection` failed for a reason _other_ than an out-of-memory error, then reporting of the error would fail. This happened because the error-reporting code tried to read the error message _after it had already cleared the connection pointer._ This means reading deallocated memory.
- Loading branch information
Showing
2 changed files
with
3 additions
and
1 deletion.
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