Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ClassCastException and native crash when using kqueue transport. #8665

Merged
merged 1 commit into from
Dec 19, 2018

Commits on Dec 16, 2018

  1. Fix ClassCastException and native crash when using kqueue transport.

    Motivation:
    
    How we did the mapping from native code to AbstractKQueueChannel was not safe and could lead to heap corruption. This then sometimes produced ClassCastExceptions or could also lead to crashes. This happened sometimes when running the testsuite.
    
    Modifications:
    
    Use a Map for the mapping (just as we do in the native epoll transport).
    
    Result:
    
    No more heap corruption / crashes.
    normanmaurer committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    e7dd6c9 View commit details
    Browse the repository at this point in the history