AsyncFor::can cause process termination

Description

If the last item in an async::For throws an exception, it will exit the function and free up the mutex - and not wait for the other threads.  If they also throw an exception the program will access invalid memory and terminate.

 

Conclusion

None

relates to

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Affects versions

Created January 25, 2021 at 12:25 PM
Updated January 26, 2021 at 9:49 AM
Resolved January 26, 2021 at 9:49 AM