- TalkBack 5 of 25:
- Next »
- « Previous
- Thread View
- Flat View
- Yep. C/C++ is a big part of the problem.
-
You are correct. Windows (and Linux) are written in C/C++. That's a big part of the problem.
Those buffer overruns you keep reading about, that let malware in? The problem is that the C language isn't strongly typed.
Did you mistakenly define a length variable as int instead of uint, and then pass it to the standard library? C will compile it without complaint. BZZZT! A hacker can insert a negative number into the int, which looks like a huge number to the uint, allowing a buffer overflow. Did you forget an @-sign? Too bad. C will let you shove the address of a variable where you wanted the value. These are real examples of security flaws found every day in production code.
And don't get me started on the stupidity of null terminated strings. Sheesh!
A recent study showed that professional programmers, and automated code generators both make far more mistakes in C than in better designed languages. As much as 50x more bugs/1k lines of code.
What better languages? Actually, just about anything newer. Delphi (an object oriented form of Pascal) is good. Ada and Java are others. But I prefer compiled code.
Microsoft is addressing these issues with their C# language. It remains to be seen if it will succeed. - Posted by: gordon@... Posted on: 05/23/06 You are currently: a Guest | Members login | Terms of Use
What do you think?
SponsoredWhite Papers, Webcasts, and Downloads
- Five Steps to Determine When to Virtualize YourServers VMware Server virtualization isn't just for big companies. Entry-level ... Download Now
- Three Steps You Need to Know to Stop Data Loss Varonis Sensitive data exposed to misuse or loss... it is the stuff of nightmares ... Download Now
- Why Isn't Server Virtualization Saving Us More? A Few Small Changes May Dramatically Increase Your Efficiency VMware Companies have rapidly adopted server virtualization over the past few ... Download Now
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- The more you simplify, the more you save
-
When you transition from your existing Red Hat environment to SUSE Linux Enterprise from Novell, you can recognize dramatic cost savings, perhaps as much 50%
- Learn more >>
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>












