News for hackers. Stuff that matters.
Re:Fix for Golang runtime memory corruption bug by 0x0 on Saturday January 07, 2017 @01:46AM (#13342714)
Does this mean every single application binary compiled with go in the wild up until today has a memory corruption bug?

If so, it's going to take some effort for this bug to be weeded out in every single deployment around the world...

Re:Fix for Golang runtime memory corruption bug by kyrra on Saturday January 07, 2017 @02:49AM (#13342898)
From the commit message:

"This bug has existed since Go 1.4. Until then the select code was implemented in C, 'done uint32' was a C stack variable 'uint32 done', and C stacks never moved."

It'll affect probably most running jobs out there, as Go 1.4 was released on Dec 10, 2014.

Re:Fix for Golang runtime memory corruption bug by Thaxll on Saturday January 07, 2017 @02:48AM (#13342894)
I don't understand this comment, are you implying that it's the first time you see a runtime with a bug?
Re:Fix for Golang runtime memory corruption bug by 0x0 on Saturday January 07, 2017 @03:17AM (#13342963)
Well usually you can just update whatever library has the bug and restart your applications, but as I understand this bug will be statically linked in all application binaries so they will all have to be recompiled and redeployed?
Re:Fix for Golang runtime memory corruption bug by Manishearth on Saturday January 07, 2017 @03:31AM (#13343010)
Yes, that's what the grandparent is saying, this is a bug in the runtime, which you can't fix by updating libraries, you have to update the compiler/interpreter (depending on the language).

This is not a unique occurrence.

Re:Fix for Golang runtime memory corruption bug by wonko1 on Saturday January 07, 2017 @03:46AM (#13343058)
I think the original question was querying if the runtime is statically or dynamically linked.

It's also possibly a subtle dig at go, because unlike other languages go does not use dynamic linking, meaning bugs in libraries require recompilation (has positive effects too).

Re:Fix for Golang runtime memory corruption bug by pjmlp on Saturday January 07, 2017 @06:57AM (#13343667)
Yes it does, since Go 1.6.

It just isn't the default compilation mode, you have to explicitly enable it.

Re:Fix for Golang runtime memory corruption bug by zigzigzag on Saturday January 07, 2017 @06:51AM (#13343641)
Runtimes have bugs but normally you just download a new one and swap it out.
Re:Fix for Golang runtime memory corruption bug by msiebuhr on Saturday January 07, 2017 @02:39AM (#13342870)
The bug was introduced in Go 1.5 (when the compiler was rewritten to Go)
Re:Fix for Golang runtime memory corruption bug by mseepgood on Saturday January 07, 2017 @05:34AM (#13343371)
No, it was introduced in Go 1.4, when the runtime was rewritten in Go.