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

Fixes UB in stack::generator: Aliasing violations and references to uninit memory. #19

Closed
wants to merge 3 commits into from

Commits on Mar 25, 2020

  1. Replaces some instances of unsound code (UB) around uninitialized mem…

    …ory and aliasing of mutable references.
    oliver-giersch committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    efba8cc View commit details
    Browse the repository at this point in the history
  2. fixes aliasing violation by splitting the mutable shelf borrow into…

    … a shared and a unique part
    oliver-giersch committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    189d283 View commit details
    Browse the repository at this point in the history
  3. replaces usage of ManuallyDrop in favor of `self.future.as_mut().get_…

    …unchecked_mut()`
    oliver-giersch committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    5185280 View commit details
    Browse the repository at this point in the history