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: UUID#to_slice returns a dangling pointer #7901

Merged
merged 1 commit into from
Jun 24, 2019

Commits on Jun 19, 2019

  1. Fix: UUID returns a dangling pointer

    Removes UUID#to_slice that returned a stack pointer that could
    become a dangling pointer when returned from a function (for
    example).
    
    Introduces UUID#bytes to return the binary representation of the
    UUID as a StaticArray(UInt8, 16) that can be passe around without
    requiring HEAP allocation.
    ysbaddaden committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    321f2fc View commit details
    Browse the repository at this point in the history