Secure Coding mailing list archives
Programming language comparison?
From: coley at linus.mitre.org (Steven M. Christey)
Date: Mon, 4 Feb 2008 16:41:45 -0500 (EST)
On Mon, 4 Feb 2008, Robert A. Martin wrote:
You still need to add to that issues that apply to all languages versus these lists of language specific weaknesses and C and C++ have significant overlap given their relationship.
There is an important point to keep in mind when using the (current) CWE views. Some weaknesses have been marked with an "All Languages" tag, even though they might be more prevalent in certain languages. For example, format string problems can happen in any language that uses format strings ("%99999999s" to fill up disk or memory, anybody?), so it's marked with "All" and it's not in the C-specific view, even though there's a heavy concentration of format strings in C/C++. On the opposite end, eval injection issues are labeled as affecting specific languages such as Perl and PHP, when a category of "any interpreted language with an eval() or equivalent" would be more appropriate. We haven't yet accounted for these subtleties within CWE yet, although we plan to do so. - Steve
Current thread:
- Programming language comparison? Vincent Verhagen (Feb 04)
- Programming language comparison? Robert A. Martin (Feb 04)
- Programming language comparison? Steven M. Christey (Feb 04)
- Programming language comparison? ljknews (Feb 04)
- Programming language comparison? Steven M. Christey (Feb 05)
- Programming language comparison? Robert C. Seacord (Feb 05)
- Programming language comparison? ljknews (Feb 05)
- Programming language comparison? Pete Shanahan (Feb 06)
- Programming language comparison? Shea, Brian A (Feb 06)
- Programming language comparison? Steven M. Christey (Feb 04)
- Programming language comparison? Robert A. Martin (Feb 04)