News for hackers. Stuff that matters.
Re:Windows has a new wormable vulnerability, with no patch by speedgoose on Wednesday March 11, 2020 @12:26PM (#22547088)
Perhaps one day unsafe programming languages will be forbidden to use.
Re:Windows has a new wormable vulnerability, with no patch by pjmlp on Wednesday March 11, 2020 @04:59PM (#22550520)
Back in 1961 Burroughs introduced an OS, nowadays still sold by Unisys.

Guess what, their system language ESPOL, an Algol derivative later replaced by NEWP, already had unsafe code blocks.

Binaries that made use of unsafe were tainted and required that the admin would given them permission to execute.

This almost 10 years before C was created.

Re:Windows has a new wormable vulnerability, with no patch by ksk on Wednesday March 11, 2020 @03:42PM (#22549679)
'Banning' things you don't personally like is not a great tactic to convince people. Other technologies should keep making things easier for the C folks to migrate to...
Re:Windows has a new wormable vulnerability, with no patch by johnr2 on Wednesday March 11, 2020 @03:04PM (#22549208)
> Perhaps one day unsafe programming languages will be forbidden to use.

That would mean ruling out a whole lot of performance-critical software (including that written in unsafe Rust). Be careful what you wish for.

Re:Windows has a new wormable vulnerability, with no patch by speedgoose on Wednesday March 11, 2020 @03:47PM (#22549735)
I'm quite sure the performance hit will be fine in a few decades.
Re:Windows has a new wormable vulnerability, with no patch by fl0wenol on Wednesday March 11, 2020 @04:38PM (#22550220)
That kind of thinking made sense twenty years ago where you could assume Moore's law was going to hold into the next decades.
Re:Windows has a new wormable vulnerability, with no patch by speedgoose on Wednesday March 11, 2020 @05:36PM (#22551021)
You don't think we will have budget for a few safety checks?
Re:Windows has a new wormable vulnerability, with no patch by jsjddbbwj on Thursday March 12, 2020 @03:42AM (#22554636)
That's exactly the line of thinking that has made computers much less responsive than they were 20 years ago.
Re:Windows has a new wormable vulnerability, with no patch by msla on Wednesday March 11, 2020 @03:23PM (#22549449)
Every programming language capable of expressing arbitrary recursion or looping is unsafe.

Doesn't matter what kinds of checks you put in. It might matter what kind of runtime you have, but a runtime isn't a language, is it? We're talking about the language, and any language sufficiently expressive to allow you to say "loop until you are done" instead of "loop precisely 20 times" is inherently unsafe.

Re:Windows has a new wormable vulnerability, with no patch by andrewflnr on Wednesday March 11, 2020 @05:23PM (#22550855)
It is not the case that every Turing complete language allows certain inputs to cause the program to break the bounds of the language's semantics and go rampaging through its simulator. That's what unsafe means in the context of memory vulnerabilities. Yes, Rice's Theorem is cool, but so are sound and complete type systems.
Re:Windows has a new wormable vulnerability, with no patch by msla on Thursday March 12, 2020 @09:02AM (#22556326)
A "sound and complete type system" can't guarantee termination, and being a Rust zealot won't change that.
Re:Windows has a new wormable vulnerability, with no patch by andrewflnr on Thursday March 12, 2020 @09:19AM (#22556482)
Correct. Fortunately that has nothing to do with memory safety. And where did you get the idea I was a Rust zealot?
Re:Windows has a new wormable vulnerability, with no patch by msla on Friday March 13, 2020 @12:23PM (#22568560)
It has everything to do with memory safety.
Re:Windows has a new wormable vulnerability, with no patch by andrewflnr on Friday March 13, 2020 @05:09PM (#22570900)
You don't even need a type system to eliminate memory unsafety. Show me the memory unsafety in lambda calculus. (and don't forget that, as you said, we're talking about languages, not runtimes)