Developers have quickly fixed many bugs in popular open source packages that were flagged as part of a US government-sponsored bug hunt.
More than 900 flaws were repaired in the two weeks after Coverity, which makes tools to analyse source code, announced the results of its first scan of 32 open source projects. As a result, some of the software is now entirely bug free, Coverity said in a statement on Monday.
"My impression is that the open source community is producing software defect patches at an extremely fast rate," Ben Chelf, the chief technology officer at Coverity, said in the statement.
The open source bug hunt is part of a three-year Open Source Hardening Project, dedicated to helping make such software as secure as possible. In January, the US Department of Homeland Security awarded $1.24m (£713,000) to Stanford University, Coverity and Symantec to find vulnerabilities in open source projects.
In its initial analysis on 6 March, Coverity scanned more than 17.5 million lines of code from 32 open source projects. On average, 0.434 bugs per 1,000 lines of code were found, the company said at the time.
More than 200 developers registered for access to the online defect database in the week after the first results were published. Since then, programmers for the Samba, Amanda and XMMS projects eliminated all the defects that the initial analysis detected, Coverity said on Monday.
Samba, a popular open source project used to connect Linux and Microsoft Windows networks, showed the fastest developer response, Coverity said. The number of flaws was reduced from 216 to 18 in one week and to zero in two weeks.
Amanda, a backup tool, was the worst performer in Coverity's first analysis. It had the highest number of bugs per 1,000 lines of code, with a bug density of 1.237. The Amanda developers fixed 108 defects in a couple of weeks, according to Coverity.
XMMS, an audio player, had the lowest bug density, with 0.051 defects per 1,000 lines of code. A total of six holes have now been fixed, Coverity said.
As part of the government-funded effort, Stanford and Coverity have built a system that does daily scans of the code contributed to popular open source projects. The resulting database of bugs is accessible to developers, so they can get the details they need to fix the flaws, Coverity said.
|
Open-source project |
Defect count |
Defect count |
|---|---|---|
|
Amanda |
108 |
0 |
|
XMMS |
6 |
0 |
|
Samba |
216 |
0 |
|
Ethereal |
143 |
19 |
|
Icecast |
12 |
2 |
|
SQLite |
31 |
6 |
|
Gcc |
140 |
97 |
|
Gaim |
113 |
51 |
|
Net-SNMP |
148 |
61 |
Source: Coverity
Story URL: http://news.zdnet.co.uk/software/0,1000000121,39261434,00.htmCopyright © 1995-2009 CBS Interactive Limited. All rights reserved
ZDNET is a registered service mark of CBS Interactive Limited. ZDNET Logo is a service mark of CBS Interactive Limited.