Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
onlinepersona ( onlinepersona@programming.dev )  to Rust@programming.devEnglish · 7 hours ago

Memory Safety Bugs in Rust Standard Library

forge-blog.github.io

external-link
message-square
11
link
fedilink
  • cross-posted to:
  • lobsters@lemmy.bestiver.se
21
external-link

Memory Safety Bugs in Rust Standard Library

forge-blog.github.io

onlinepersona ( onlinepersona@programming.dev )  to Rust@programming.devEnglish · 7 hours ago
message-square
11
link
fedilink
  • cross-posted to:
  • lobsters@lemmy.bestiver.se
Knowing What You Trust: Three patterns behind memory safety bugs we found in Rust's standard library, and why Rust's safety model still matters even though it isn't perfect.

cross-posted from: https://lemmy.bestiver.se/post/1442424

Comments

  • TehPers ( TehPers@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    From The Rust Reference

    • ImgurRefugee114 ( ImgurRefugee114@reddthat.com ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Not quite a standard, but fair enough for colloquial usage. A bit funny that they have to explicitly define undefined.

      • TehPers ( TehPers@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        44 minutes ago

        Yeah, they don’t define what’s “defined” behavior due to a lack of a formal standard, but there are some things they specifically want to defend against.

        There does exist a formal standard (and certified toolchain), but it’s not official as far as I’m aware.

        • BB_C ( BB_C@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          33 minutes ago

          but it’s not official as far as I’m aware.

          https://blog.rust-lang.org/2025/03/26/adopting-the-fls/

          https://rust-lang.github.io/fls/

          • TehPers ( TehPers@beehaw.org ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            27 minutes ago

            Hey this is great news! I’m surprised I hadn’t seen this before.

        • ImgurRefugee114 ( ImgurRefugee114@reddthat.com ) 
          link
          fedilink
          arrow-up
          1
          ·
          38 minutes ago

          Oh, I hadn’t heard of them before. Interesting. Thank you.

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 45 users / day
  • 101 users / week
  • 160 users / month
  • 758 users / 6 months
  • 118 local subscribers
  • 8.37K subscribers
  • 1.3K Posts
  • 3.81K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • EdTheLegendary ( EdTheLegendary@programming.dev ) 
  • torcherist ( torcherist@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code