-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Segmentation error to dereference nullptr (#180)
* Segmentation error to dereference nullptr getEDPReaders is possible to return nullptr Signed-off-by: Ethan Gao <[email protected]> * Avoid null dereference to application crash Signed-off-by: Ethan Gao <[email protected]> * change the way not equal to nullptr * reflect the failure to get EDP readers Signed-off-by: Ethan Gao <[email protected]> * check either edp_reader Signed-off-by: Ethan Gao <[email protected]>
- Loading branch information
1 parent
640d7de
commit 97a0998
Showing
2 changed files
with
22 additions
and
3 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