• xmo748@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    Clearly, but it’s worth pointing out that this kind of problem isn’t uniquely fixed by “just use Rust”.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      3 days ago

      I never said that only Rust prevents this. I just said using Rust in the Kernel would have prevented this issue.

      • xmo748@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        Fair enough. Don’t you think it simplifies the issue a little bit? How long would it take to rewrite the entire TCP stack in rust?

        • thingsiplay@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          3 days ago

          I don’t think a rewrite in Rust is necessary for everything that has a bug. Instead fixing the bug is probably more secure, before such alternative Rust code is mature enough to replace it.