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 bug related to memoryAddress access when unsafe is not accessible… #579

Merged
merged 1 commit into from Sep 6, 2023

Commits on Sep 6, 2023

  1. Fix bug related to memoryAddress access when unsafe is not accessible…

    … and Datagram extension is used
    
    Motivation:
    
    We can't assume we can directly access the memoryAddress of the ByteBuf as it might not be possible on all platforms or even explicit disabled by the end user
    
    Modifications:
    
    Use static helper method that will always be able to return the correct memory address
    
    Result:
    
    Code works as expected on all platforms
    normanmaurer committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b80a2de View commit details
    Browse the repository at this point in the history