all 13 comments

sorted by: hot top controversial new old
[–] [S] 26 points 1 day ago (2 children)

Unsurprisingly, the issues come from wrapped, unsafe code.

  • source
  • hideshow 2 child comments
  • [–] 6 points 18 hours ago

    M$ ad talk now comes with LLM word diarrhea. Great!

    Nothing special is discovered or revealed here IMHO. The very first issue was independently found by security scans that don't come with a marketing budget. The ad itself admits other issues also have been independently reported by others.

    The str/pattern stuff validates the position that unicode-validation at construction then keeping everything byte-based wasn't a good choice. Explicit byte-view and char-view APIs would have been better.

    Otherwise, no harm from throwing free tokens at the rust compiler+std. They can still shove their now LLM-generated word diarrhea ad posts where they belong.

  • source
  • [–] 2 points 20 hours ago (8 children)

    Microsoft’s FORGE Lab found several memory safety issues in Rust’s standard library (std and core), including cases where code written entirely in safe Rust can trigger undefined behavior.

  • source
  • hideshow 8 child comments
  • [–] 1 point 19 hours ago* (6 children)

    Bit of a misnomer, since I don't think Rust actually has "defined behavior" in the technical sense...

    or has it actually gotten a formal specification since I last looked?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 18 hours ago (5 children)
  • [–] 1 point 18 hours ago* (4 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 18 hours ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments