you are viewing a single comment's thread
view the rest of the comments
[–] 84 points 10 months ago (2 children)

It’s not. It’s literally code in an unsafe block. The OP is either trolling or actually ignorant.

  • source
  • parent
  • hideshow 2 child comments
  • [+] [S] -26 points 10 months ago (1 child)

    https://doc.rust-lang.org/nomicon/races.html

    Safe Rust guarantees an absence of data races

    I know that it was unsafe block in this CVE, but the irony of the situation is funny.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 64 points 10 months ago

    Not only unironic but explained in the doc you referenced:

    “However Rust does not prevent general race conditions.

    This is mathematically impossible in situations where you do not control the scheduler, which is true for the normal OS environment.”

  • source
  • parent