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

[stable] Fix CVE 2022 21658 and prepare 1.58.1 #93110

Merged
merged 15 commits into from
Jan 20, 2022

Commits on Jan 19, 2022

  1. Configuration menu
    Copy the full SHA
    b167157 View commit details
    Browse the repository at this point in the history
  2. Only check for errors in predicate when skipping impl assembly

    Prior to PR rust-lang#91205, checking for errors in the overall obligation
    would check checking the `ParamEnv`, due to an incorrect
    `super_visit_with` impl. With this bug fixed, we will now
    bail out of impl candidate assembly if the `ParamEnv` contains
    any error types.
    
    In practice, this appears to be overly conservative - when an error
    occurs early in compilation, we end up giving up early for some
    predicates that we could have successfully evaluated without overflow.
    By only checking for errors in the predicate itself, we avoid causing
    additional spurious 'type annotations needed' errors after a 'real'
    error has already occurred.
    
    With this PR, the diagnostic changes caused by PR rust-lang#91205 are reverted.
    Aaron1011 authored and pietroalbini committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    70a61c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a14ae6f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    408709d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    acd6476 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0076b17 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Fix CVE-2022-21658 for Windows

    ChrisDenton authored and pietroalbini committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    4f0ad1c View commit details
    Browse the repository at this point in the history
  2. Fix CVE-2022-21658 for UNIX-like

    hkratz authored and pietroalbini committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    32ed6e5 View commit details
    Browse the repository at this point in the history
  3. Fix CVE-2022-21658 for WASI

    alexcrichton authored and pietroalbini committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    406cc07 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42cb17e View commit details
    Browse the repository at this point in the history
  5. 1 Configuration menu
    Copy the full SHA
    1e17daf View commit details
    Browse the repository at this point in the history
  6. backport missed illumos fix

    hkratz authored and pietroalbini committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    cb88166 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2923f3a View commit details
    Browse the repository at this point in the history
  8. name_cstr() is not needed for Redox.

    hkratz authored and pietroalbini committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    68976d1 View commit details
    Browse the repository at this point in the history
  9. Better fix for Fuchsia

    hkratz authored and pietroalbini committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    1c63ec4 View commit details
    Browse the repository at this point in the history