Hold that upgrade: Critical bug in .NET 4.6 'breaks applications'

Status
Not open for further replies.
L

LabZero

Thread author
A critical bug in the optimizer in the just-released .NET 4.6 runtime could break and crash production applications, we're warned.

"The methods you call can get different parameter values than you passed in," says Nick Craver – software developer and system administrator for Stack Exchange, home of the popular programming support site Stack Overflow – in a post today.

The bug was hard to spot because it only occurs when optimizations are enabled. This means you can build an application, run it in Visual Studio, and everything is fine. It is only when you compile a production build that the problem occurs. Attaching a debugger, says Craver, changes the behavior and usually hides the issue. It was noticed at Stack Overflow because its heavily exercised HTTP caching code was not working with the new runtime, delivering unpredictable results.

More
 

soccer97

Level 11
Verified
May 22, 2014
517
Always wait on .NET, and I say wait at least a week on .NET updates so all of the bugs come out. Think of having to use the .NET cleanup tool and starting over. Hours will go by.
 
  • Like
Reactions: LabZero
Status
Not open for further replies.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top