Stories
Slash Boxes
Comments

News for nerds, stuff that matters

611 Defects, 71 Vulnerabilities Found In Firefox

Posted by kdawson on Thu Sep 07, 2006 10:50 AM
from the rolling-in-bugs dept.
Danny Begonia writes, "Some folks at Klocwork examined the large and complicated code base of the popular open source browser, Firefox. Overall, Firefox is a well written and high quality piece of software. Several builds were performed on the code, culminating in the final analysis of version 1.5.0.6. The analysis resulted in 611 defects and 71 potential security vulnerabilities. The Firefox team has been given the analysis results, and they will determine if or how they will deal with the issues." What are your thoughts — do Firefox and the open source community welcome this kind of analysis?
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2
  • Obvious. (Score:5, Insightful)

    by keyne9 (567528) on Thursday September 07 2006, @10:52AM (#16059739)
    do Firefox and the open source community welcome this kind of analysis?

    Obviously, yes. Otherwise, open source would be closed-source.
    • Re:Obvious. (Score:5, Interesting)

      by legoburner (702695) on Thursday September 07 2006, @11:01AM (#16059852)
      (http://www.comparecomponents.com/ | Last Journal: Friday September 15 2006, @02:04PM)
      Especially now that firefox is so popular. Firefox makes up 10% of users on the general Internet (as counter by thecounter.com [thecounter.com]), with IE at 85%. My own tech related site [comparecomponents.com] has 76.4% of users using firefox, with just 10.1% on IE, and my other more casual site has 23.1% firefox and 64% IE (the rest being safari, opera, konq, etc.)
      [ Parent ]
      • Re:Obvious. (Score:4, Funny)

        by Anonymous Coward on Thursday September 07 2006, @11:05AM (#16059893)
        And thanks to the popularity, now adware is built for Firefox as well. Especially that Yahoo crap. Bleh!
        Like the kid that was goth before it was popular, it's time to change to a more obscure web browser.
        [ Parent ]
      • Re:Obvious. (Score:5, Informative)

        by Danga (307709) on Thursday September 07 2006, @11:45AM (#16060213)
        I wouldn't trust those numbers from thecounter.com or any of the other sites that depend on user agent. Opera user here and I know for a fact that most of the time I have my user agent set to MSIE 6.0 otherwise a lot of sites give me problems and won't let me load them even though they render just fine. Those same sites a lot of times will load without a problem in firefox, when will web designers stop checking the damn user agent, it is a waste of time and just pisses people off. It has been getting better but still any analysis done that relies solely on user agent is not reliable in my book. I also would really love to have a true way to find out how close that 1% for Opera is to correct because I doubt it is correct.
        [ Parent ]
        • Re:Obvious. by Irish_Samurai (Score:3) Thursday September 07 2006, @11:55AM
          • Re:Obvious. by compro01 (Score:2) Thursday September 07 2006, @12:55PM
            • Re:Obvious. by eosp (Score:3) Thursday September 07 2006, @08:25PM
              • Re:Obvious. by compro01 (Score:2) Friday September 08 2006, @09:41AM
            • Re:Obvious. by ncc74656 (Score:2) Friday September 08 2006, @12:06AM
          • Re:Obvious. by aztracker1 (Score:2) Thursday September 07 2006, @04:05PM
        • Re:Obvious. by CAIMLAS (Score:2) Thursday September 07 2006, @01:14PM
          • Re:Obvious. by Analogy Man (Score:2) Thursday September 07 2006, @02:48PM
            • Re:Obvious. by TENTH SHOW JAM (Score:1) Thursday September 07 2006, @05:09PM
          • Re:Obvious. by aichpvee (Score:1) Thursday September 07 2006, @08:22PM
          • Re:Obvious. by richlv (Score:2) Friday September 08 2006, @05:27AM
        • Re:Obvious. by Anarke_Incarnate (Score:2) Thursday September 07 2006, @01:52PM
          • Re:Obvious. by Danga (Score:2) Thursday September 07 2006, @02:52PM
        • Re:Obvious. by rainman_bc (Score:2) Thursday September 07 2006, @02:34PM
          • Re:Obvious. by Barsteward (Score:1) Thursday September 07 2006, @03:59PM
            • Re:Obvious. by rainman_bc (Score:2) Thursday September 07 2006, @05:57PM
              • Re:Obvious. by Apoklypse (Score:1) Saturday September 09 2006, @07:28AM
        • by Chuck Chunder (21021) on Thursday September 07 2006, @02:40PM (#16061569)
          (http://blog.paulmcgarry.com/ | Last Journal: Friday July 25 2003, @12:57AM)
          Even when Opera is spoofing it's user agent string the text "Opera" is still in there [opera.com] and anyone making a reasonable effort to identify browsers will be able to count it accordingly. Opera's spoofing doesn't hide that it's Opera, it only acts a workaround for sites that only detect a common part of the IE/Mozilla UA string and wouldn't do anything if one of those aren't found.
          [ Parent ]
        • Re:Obvious. by acherusia (Score:1) Thursday September 07 2006, @03:31PM
          • Re:Obvious. by AnyoneEB (Score:2) Thursday September 07 2006, @04:00PM
        • Re:Obvious. by Ponga (Score:1) Thursday September 07 2006, @04:22PM
        • 1 reply beneath your current threshold.
      • Re:Obvious. by SebNukem (Score:1) Thursday September 07 2006, @01:34PM
      • Re:Obvious. by SirusTV (Score:1) Thursday September 07 2006, @03:07PM
        • Re:Obvious. by Propaganda13 (Score:2) Thursday September 07 2006, @06:09PM
          • Re:Obvious. by SirusTV (Score:1) Friday September 08 2006, @10:57AM
      • 1 reply beneath your current threshold.
    • by Billosaur (927319) * <wgrother&optonline,net> on Thursday September 07 2006, @11:01AM (#16059854)
      (Last Journal: Wednesday November 07, @10:09AM)

      Obviously, yes. Otherwise, open source would be closed-source.

      The numbers look large given that Firefox is supposed to be the superior browser, but can you imagine what those same numbers would look like for IE? Think Gates & Co. would care to give up the source code to do a head-to-head comparison? I'll bet the folks in Redmond are looking at these numbers and wondering just how to get IE's numbers that low.

      [ Parent ]
      • Re:Speaking of which... (Was Re:Obvious.) by Danga (Score:2) Thursday September 07 2006, @11:50AM
      • by rucs_hack (784150) on Thursday September 07 2006, @11:54AM (#16060293)
        (http://code.google.com/p/nmod/)
        slightly OT I know, but relevent:

        Back when I was a nurse, in the days before programming sucked me in, I was a manager in a private elderly care home for people with dimentia.

        We kept excruciatingly detailed records of every scratch, cut and injury, serious or otherwise, that happened to our clients. So much so that on paper our accident record look awful compared to other homes, who tended not to be so open. We actually had fewer such incidents then other homes in our region, but we documented *everything*.

        However, come official inspection day, the health authority inspectors were always very pleased with our records, and always passed us with a very high grade.

        The reason? Instead of hunting around for hidden evidence that had been concealed, they just had to consult our records.
        We were open about problems, and always sought solutions. We were also, because of our policy on recording everything, able more easily to identify problems with patients who were more likely to get cut, and work to alter their environment or diet to try and help.

        The result was that we ended up being the top specialist care home in our region.

        When I moved into computer science, the only software model that I would work with was open source. Again there is nothing gained from hiding problems with code, and it's much easier to identify issues. I discovered remarkable similarities with my old nursing practices and the Open Source method.

        I realise the comparison may seem odd, but my point is that being open about problems is a far better way to reach solutions, whatever field it is applied to.
        [ Parent ]
      • Doubt it by Almahtar (Score:2) Thursday September 07 2006, @12:52PM
      • Re:Speaking of which... (Was Re:Obvious.) by AlastairH (Score:1) Thursday September 07 2006, @02:18PM
      • Re:Speaking of which... (Was Re:Obvious.) by Durzel (Score:1) Thursday September 07 2006, @02:34PM
      • Re:Speaking of which... (Was Re:Obvious.) by Stringer Bell (Score:1) Thursday September 07 2006, @02:50PM
      • 1 reply beneath your current threshold.
    • Re:Obvious. by LiquidCoooled (Score:1) Thursday September 07 2006, @11:01AM
      • Re:Obvious. by WiFiBro (Score:2) Thursday September 07 2006, @11:37AM
        • Re:Obvious. by LiquidCoooled (Score:1) Thursday September 07 2006, @12:30PM
    • Re:Obvious. by ClamIAm (Score:3) Thursday September 07 2006, @11:15AM
      • Re:Obvious. by Marillion (Score:2) Thursday September 07 2006, @12:25PM
        • Re:Obvious. by bunratty (Score:2) Thursday September 07 2006, @12:57PM
          • Firefox developers become "defensive" when so many users report problems? That's a new excuse for the collection:

            Mozilla Foundation Top 15 Excuses for Not Fixing Bugs

            Top 15 things Firefox and Mozilla developers say about those who report difficult bugs, collected during the last 4 years:
            1. Maybe this bug is fixed in the nightly build.
            2. Yes, this bug exists, but other things are more important.
            3. No one has posted a TalkBack report. [If they had read the bug report, they would know that there is never a TalkBack report, because the bug crashes TalkBack, too, or a TalkBack report is not generated.]
            4. If you would just give us more information, we would fix this bug.
            5. This bug report is a composite of other bugs, so this bug report is invalid. [The other bugs aren't specified.]
            6. You are using Firefox in a way that would crash any software. [But the same use does not crash any version of Opera.]
            7. I don't like the way you worded your bug report. [So, I didn't read it or think about it.]
            8. You should run a debugger and find what causes this problem yourself. [Then when you have done most of the work, tell us what causes the problem, and we may fix it.]
            9. Many bugs that are filed aren't important to 99.99% of the users.
            10. If you are saying bad things about Mozilla and Firefox, you must be trolling. [They say this even though Firefox and Mozilla instability is beginning to be reported in media such as Information Week. See the links to magazine articles in this Slashdot comment: Firefox is the most unstable program in common use [slashdot.org].]
            11. Your problem is probably caused by using extensions. [These are extensions advertised on the Firefox and Mozilla web site, and recommended.]
            12. Your problem is probably caused by a corrupt profile.
            13. If you are technically knowledgeable, you can spend several hours trying to discover the problem: Standard diagnostic - Firefox [mozillazine.org]. [Firefox has "Standard Diagnostics"! LOL.]
            14. I won't actually read the (many) bug reports, but I will give you some complicated technical speculation which pretends to be helpful but, on investigation, is shown to have nothing to do with the bugs.
            15. It's understandable that Firefox developers become defensive when users report so many problems.
            [ Parent ]
        • Re:Obvious. by Mister Whirly (Score:1) Thursday September 07 2006, @01:22PM
      • Re:Obvious. by Futurepower(R) (Score:2) Thursday September 07 2006, @01:04PM
    • Re:Obvious. by AceCaseOR (Score:2) Thursday September 07 2006, @11:17AM
    • Re:Obvious. by ztirffritz (Score:3) Thursday September 07 2006, @11:19AM
    • by msobkow (48369) on Thursday September 07 2006, @11:22AM (#16060018)
      (Last Journal: Sunday February 18 2007, @11:40AM)

      The biggest push I've heard given to corps over the years is not that OSS can be modified, enhanced, integrated, or reused, but that it can be inspected, reviewed, and fixed.

      If there is anyone working in OSS who doesn't appreciate receiving such an analysis of potential bugs, then they shouldn't be programming anywhere. Whether for fun or profit, fixing the bugs and adding features is what the "job" is.

      [ Parent ]
    • Re:Obvious. by Cruise_WD (Score:1) Thursday September 07 2006, @12:01PM
    • Re:Obvious. by stunt_penguin (Score:2) Thursday September 07 2006, @12:16PM
    • Re:Obvious. by Reziac (Score:2) Thursday September 07 2006, @12:18PM
    • Re:Obvious. by Boone^ (Score:2) Thursday September 07 2006, @12:59PM
    • Re:Obvious. by page0 (Score:1) Friday September 08 2006, @12:01AM
    • Re:Obvious. by billeger (Score:1) Friday September 08 2006, @12:44AM
    • 1 reply beneath your current threshold.
  • Memory leaks (Score:5, Interesting)

    by Anonymous Coward on Thursday September 07 2006, @10:53AM (#16059748)
    It seems mainly the problems were to do with memory leaks. Which having seen firefox eat 700mb of ram doesnt surprise me....As long as these probs get fixed i cant complain...Doning this kinda of analysis is much easier with the source code i imagine.
  • It's a critical review by 91degrees (Score:1) Thursday September 07 2006, @10:53AM
  • YES! (Score:5, Insightful)

    by Total_Wimp (564548) on Thursday September 07 2006, @10:53AM (#16059756)
    What are your thoughts -- do Firefox and the open source community welcome this kind of analysis?

    God I hope so. What on earth is the advantage of open source security if they don't get this kind of analysis?

    TW
    • Re:YES! by mgblst (Score:2) Friday September 08 2006, @03:11AM
  • Why Not? (Score:5, Insightful)

    What are your thoughts -- do Firefox and the open source community welcome this kind of analysis?
    And why wouldn't they?

    Seriously, any free testing is better than none. Especially when they point out the problems explicitly and hand them to you. As a developer, you're then given one last chance to fix your product -- if these even need to be fixed. I would expect things like the 134 memory leaks to be fixed and fixed fast. I've known Firefox to occasionally go on a memory splurge at my computer's expense and have expected this to be the problem. As far as some of these other problems that are mild security issues, they might not need to fix them at all.

    Even the article admits that a lot of these "issues" are trivial to fix:
    By far, the majority of the defects reported were null pointer dereferences (446 defects). A large number of defects resulted from the code not checking for null after memory was allocated. In addition, there were many cases where the return value of functions designed to return null were not checked prior to dereferencing.
    Sounds like a two week job of an intern to me. Checking for null and handling it after memory allocation could probably be a cut and paste job. If they mention the line numbers and files, there's your fix.

    Either way, this is the beauty of open source software, anyone can go in and do this. Now, if you found bugs in a proprietary program from some company and sent them a breakdown of problems, you'd get one of two responses. 1) No response and 2) A charge that you are reverse engineering their product and in violation of many anti-piracy laws. If the company still didn't address the issues and you published the bugs, then you're nothing but a software terrorist.

    So let's kick back and watch open source at its best! No software is perfect, but it will be enjoyable to know that a process like this can occur -- with the end result being a better free product on my machine!
    • Re:Why Not? (Score:5, Insightful)

      by RAMMS+EIN (578166) on Thursday September 07 2006, @10:59AM (#16059840)
      (http://inglorion.net/ | Last Journal: Thursday October 06 2005, @07:17AM)
      ``As far as some of these other problems that are mild security issues, they might not need to fix them at all.''

      Rule #2 of security: there is no such thing as "mild security issues".

      (Rule #1 is that the only secure system is no system at all)
      [ Parent ]
      • Re:Why Not? (Score:5, Insightful)

        by ajs (35943) <ajs@aj s . com> on Thursday September 07 2006, @11:55AM (#16060296)
        (http://www.ajs.com/~ajs/)
        Rule #2 of security: there is no such thing as "mild security issues".

        This is unreasonable in the extreme. Security analysis is a matter of risk analysis, and to say that there's no such thing as a mild security issue is about the same as saying there's no such thing as a mild risk. Risks of all forms are multi-dimensional quantities, and yes it is possible to have a risk that is so mild that the trade-offs involved in fixing it are not worth the pain.

        Here's a great example: I can stand over your shoulder and watch you type your password to your 401k account in your browser. Firefox could address this "mild security issue" by having you pre-assign a dummy string which it removes from typed passwords. In any other browser that was not so configured the password you typed would fail to work, and the security problem would be greatly reduced.

        This is, however, not enough of an issue that it's worth it to firefox to take the lead in addressing it. Perhaps if some particular OS or desktop provided such an option as a user-level setting, then it would be worth picking it up and using it, but as it stands, there are bigger fish to fry.
        [ Parent ]
        • Re:Why Not? by RAMMS+EIN (Score:2) Thursday September 07 2006, @12:06PM
          • Re:Why Not? by ajs (Score:2) Thursday September 07 2006, @03:38PM
        • Re:Why Not? by ajs (Score:2) Thursday September 07 2006, @03:32PM
        • 1 reply beneath your current threshold.
      • Re:Why Not? by geekoid (Score:2) Thursday September 07 2006, @12:19PM
      • Re:Why Not? by avengex (Score:1) Thursday September 07 2006, @12:19PM
        • Re:Why Not? by RAMMS+EIN (Score:2) Thursday September 07 2006, @12:34PM
          • Re:Why Not? by tomhudson (Score:2) Thursday September 07 2006, @03:10PM
          • Re:Why Not? by avengex (Score:1) Friday September 08 2006, @01:04AM
      • Re:Why Not? by jelle (Score:2) Thursday September 07 2006, @02:15PM
      • 1 reply beneath your current threshold.
    • Re:Why Not? (Score:4, Interesting)

      by arth1 (260657) on Thursday September 07 2006, @11:11AM (#16059937)
      (http://2130706433/ | Last Journal: Thursday July 19, @10:29AM)
      Why wouldn't they? Ego, unfortunately. Open source developers are just as human as commercial developers, and don't like anyone badmouthing their babies.
      Yes, I expect a fair number of these bugs to be fixed, but I also expect a fair number of them to be closed without action, if there's any way to pass the blame.
      "Package A leaks memory when used with package B? Package B needs to free the memory we allocate. Not our fault. *CLOSED*"
      "Package A has a buffer overflow vulnerability? Packages B and C must filter the strings they send us. Not our fault. *CLOSED*"
      "Package A has a buffer overflow vulnerability when used with Unicode? It's designed as a single-byte character routine. If you want a multi-byte one, write your own. Not our fault. *WONTFIX*"

      I hope and trust that most of the bugs will be fixed without politicking and passing the buck, but I fear there will be quite a bit of focusing on blame placement and credit taking instead of getting a thankless job done.

      Regards,
      --
      *Art
      [ Parent ]
      • Re:Why Not? (Score:4, Insightful)

        by Todd Knarr (15451) on Thursday September 07 2006, @11:26AM (#16060054)
        (http://www.silverglass.org/)

        "Package A leaks memory when used with package B? Package B needs to free the memory we allocate. Not our fault. *CLOSED*"

        Could be entirely legitimate to close it. If the spec says that package B shall take ownership of the memory when passed in, then yes a bug against package A for a memory leak should be closed and refiled against B that's not honoring the spec.

        "Package A has a buffer overflow vulnerability? Packages B and C must filter the strings they send us. Not our fault. *CLOSED*"

        Again possibly entirely legitimate. I've written a number of low-level routines that don't do much error-checking. This fact is explicitly noted in the API spec, and responsibility for error checking is explicitly placed on the caller. That's because these routines get used in performance-critical inner loops, and the error checking should only be done once outside the loop instead of every time the loop executes. That's easier to do if you hoist responsibility for the check up to the point where the data comes in, rather than pushing it down to the lowest level. But things like that do need to be spelled out in the spec, so users of that routine know what their responsibilities are.

        [ Parent ]
        • Re:Why Not? (Score:4, Interesting)

          by Jerf (17166) on Thursday September 07 2006, @11:50AM (#16060251)
          (Last Journal: Saturday August 18 2001, @11:04AM)
          If the GP is correct, it's still bad usage of the bug system. If Team A feels the fault belongs to Team B, the correct response is to move the bug to Team B, not to close the bug.

          They may get into a fight about whose responsibility it is, but such a fight is also a bug, as such responsibilities in such a large project basically are a part of the code and should also be clearly delimited. If you insist on using languages without automatic garbage management, "who's responisibility it is to deallocate this memory" is a fundamental part of the API.
          [ Parent ]
          • Re:Why Not? by Todd Knarr (Score:3) Thursday September 07 2006, @12:08PM
            • Re:Why Not? by Jerf (Score:1) Thursday September 07 2006, @12:17PM
              • Re:Why Not? by petermgreen (Score:2) Thursday September 07 2006, @08:07PM
        • Re:Why Not? by arth1 (Score:2) Thursday September 07 2006, @05:44PM
        • Re:Why Not? by Svartalf (Score:2) Thursday September 07 2006, @12:06PM
        • Re:Why Not? by Dan Farina (Score:2) Thursday September 07 2006, @12:30PM
        • 1 reply beneath your current threshold.
    • Re:Why Not? by nuntius (Score:1) Thursday September 07 2006, @11:31AM
      • Re:Why Not? by BalanceOfJudgement (Score:2) Thursday September 07 2006, @12:05PM
        • Re:Why Not? by petermgreen (Score:2) Thursday September 07 2006, @08:11PM
      • Memory allocation. by warrax_666 (Score:2) Thursday September 07 2006, @12:41PM
      • 1 reply beneath your current threshold.
    • Re:Why Not? by cheezit (Score:3) Thursday September 07 2006, @11:40AM
    • Re:Why Not? by Danga (Score:2) Thursday September 07 2006, @11:59AM
      • Re:Why Not? by Markus Registrada (Score:2) Thursday September 07 2006, @04:14PM
    • It isn't Open vs Proprietary that is significant h by mikefocke (Score:1) Thursday September 07 2006, @02:48PM
    • Re:Why Not? by drakaan (Score:2) Thursday September 07 2006, @11:55AM
    • 3 replies beneath your current threshold.
  • Why not? (Score:5, Insightful)

    by gstoddart (321705) on Thursday September 07 2006, @10:54AM (#16059760)
    (http://slashdot.org/)
    Why wouldn't people like the fact that an independant group audited the code?

    At least with open source, you can do that. And, giving the report directly to the Mozilla people means that they know the issues are there and can address them.

    Better than security through obscurity where only the one who found the exploit knows it's there.

    Cheers
    • Re:Why not? by BL08N0883N (Score:1) Thursday September 07 2006, @11:02AM
  • I value it (Score:4, Interesting)

    by jimstapleton (999106) on Thursday September 07 2006, @10:54AM (#16059763)
    (Last Journal: Tuesday February 06 2007, @09:13AM)
    as a user, I value this kind of criticism - it's better out in the open where the devs are pressured to do something about it, than behind close doors where those of malicious intent can go about their nefarious business unhindered.
  • Better than the alternative by TheWoozle (Score:2) Thursday September 07 2006, @10:54AM
  • MS Security by Anonymous Coward (Score:2) Thursday September 07 2006, @10:54AM
  • Answer: (Score:5, Funny)

    by Anonymous Coward on Thursday September 07 2006, @10:54AM (#16059774)
    > What are your thoughts -- do Firefox and the open source community welcome this kind of analysis?

    No, they're going to sweep this under the rug and disappear anyone else who audits their code. What the fuck do you think?
  • Someone care to explain? by Anonymous Coward (Score:1) Thursday September 07 2006, @10:55AM
  • Great, get any help you can get. by DoktorTomoe (Score:2) Thursday September 07 2006, @10:55AM
  • HuH? by SirStanley (Score:1) Thursday September 07 2006, @10:55AM
  • Does Open Source encourage this kind of analysis and input? Absolutely. I'll take it two steps further. As of now, the Firefox team can:

    1. Ignore the data.
    2. Use the data to make a better product.
    3. Look at the data, decide what is a true security issue/bug or not, and proceed on.

    And, then there's also the option for the users:

    1. Use Firefox as it is.
    2. Make their own version.

    The very idea of Open Source would, if there is a truly serious bug/security flaw that Firefox ignores, allow another group of people to fix the issue and release their own version - which could compete and even surplant the current Firefox version with the user base should people decide that's what they want.

    So, without appearing rude, I would state that the question is a silly one. Yes, Open Source encourages this kind of analysis of all kinds. It just has a built in process that allows action to be taken - even if the primary code developer does not want to.

    Of course, this is all just my opinion. I could be wrong.
  • False positives (Score:5, Informative)

    by interiot (50685) on Thursday September 07 2006, @10:56AM (#16059794)
    (http://paperlined.org/)
    Note that Klocwork, while definitely a good tool, does tend to produce a fair number of false positives [mail-archive.com], so it's not possible to try to compare an automated report of potential problems to a list of problems actually agreed to be a problem and actually fixed by an organization.
  • Costs and motivations (Score:5, Insightful)

    by kjs3 (601225) on Thursday September 07 2006, @10:57AM (#16059804)
    What are your thoughts -- do Firefox and the open source community welcome this kind of analysis?

    Of course they do. Closed source companies say "what's my profit motivation for fixing these, and how much is it going to cost me to do it, and what are the costs of not doing it". Open source projects (usually) don't operate under those restrictions, so there's little downside to having issues pointed out.

  • Very responsive... by whiskeyriver (Score:1) Thursday September 07 2006, @10:57AM
  • Know your weaknesses by Jazzer_Techie (Score:2) Thursday September 07 2006, @10:57AM
  • Great Opportunity by desNotes (Score:1) Thursday September 07 2006, @10:57AM
  • Incomming by Ajehals (Score:2) Thursday September 07 2006, @10:58AM
  • The only issue I can see by tygt (Score:1) Thursday September 07 2006, @10:58AM
  • Copy, paste (Score:5, Funny)

    by Jon Peterson (1443) <(jon) (at) (snowdrift.org)> on Thursday September 07 2006, @10:59AM (#16059830)
    (http://www.jbrowse.com/)
    Hey, if it makes them fix the copy/paste bug, it's all good by me.
  • One would certainly hope so... (Score:5, Interesting)

    by tcopeland (32225) * <tom@NOspam.infoether.com> on Thursday September 07 2006, @10:59AM (#16059831)
    (http://tomcopeland.blogs.com/)
    ...I recently wrote an article for Better Software (details here [blogs.com]) showing the duplicated code and some other static analysis-type problems that PMD [sf.net] turned up in two fairly popular open source Java apps - Azureus and Columba. Both these programs are excellent open source apps, but both also had a number of places that could be improved.

    This is kind of a Slashdot permathread, but anyhow, static code analysis is not a replacement for smart people also looking at the code. Rather, it augments folks' efforts and provides a safety net to catch little problems that can slip through. A duplicated code detector [sf.net] is especially useful because it can scan a massive codebase and help pick out chunks of code that can be refactored away. This reduces the lines of code, eliminates the possibility of duplicate bugs, and is great fun.
  • Static analysis tools like the one used to produce this list tend to produce lots of false positives, because they can't make as many assumptions as a programmer who knows what's going on, and they can't follow most interactions between different modules. So the headline should be "611 *possible* defects, 71 *possible* vulnerabilities" found. More likely, a small handful of those will turn out to be real (but minor) bugs, and the rest will be bogus.
  • I kid you not... (Score:5, Funny)

    by PFI_Optix (936301) on Thursday September 07 2006, @11:02AM (#16059867)
    (Last Journal: Friday March 31 2006, @11:17AM)
    Firefox just crashed while I was reading this article.
  • Watch for IE Fanboys by just_forget_it (Score:1) Thursday September 07 2006, @11:03AM
  • Not too bad (Score:4, Insightful)

    by dctoastman (995251) on Thursday September 07 2006, @11:03AM (#16059881)
    (http://www.timeforplanb.net/smokee)
    At first I thought "Great, another FUD piece overblowing what are probably trivial issues."
    The I RTFA and saw that it was an honest report of errors given in a straightforward and clear manner.
    And like other posters have mention, none of them sound that life-threatening.

    I'm sure some Microsofties are going to be spinning this wicked for the next couple of months however.
  • Of Course (and I'll jump for the bait) by DragonFodder (Score:1) Thursday September 07 2006, @11:06AM
  • Full disclosure is the way to go (Score:3, Insightful)

    by bob whoops (808543) <bobwhoops@nOSpaM.gmail.com> on Thursday September 07 2006, @11:06AM (#16059900)
    (http://bobwhoops.ath.cx/)

    What are your thoughts -- do Firefox and the open source community welcome this kind of analysis?

    Not getting this kind of analysis isn't going to stop the bad guys from running them.

  • Mod the submitter -1 troll... by Chaffar (Score:2) Thursday September 07 2006, @11:07AM
  • College Lab by ThreeDeadTrolls (Score:2) Thursday September 07 2006, @11:08AM
  • 2.0 Beta 2 by Paul Slocum (Score:1) Thursday September 07 2006, @11:10AM
  • by Loco3KGT (141999) on Thursday September 07 2006, @11:14AM (#16059947)
    (http://www.stevegula.net/)
    "Can't last more than 20 minutes on Myspace" bug?

    Yeah, that's right. I just admitted to using Myspace for more than 20 minutes at a time.
  • by Thrymm (662097) on Thursday September 07 2006, @11:16AM (#16059974)
    Ive been in the QA field since 97.... no matter the complexity of the application, there are countless bugs, defects, etc.... in fact development in most cases welcomes the more found, hence the more fixed. There is a book on Amazon called the Art of Software Testing (http://www.amazon.com/Art-Software-Testing-Second /dp/0471469122/sr=8-1/qid=1157645733/ref=pd_bbs_1/ 103-3570097-7021412?ie=UTF8&s=books [amazon.com]), which states no matter how many defects are found, it's probably not even half of what could be found with plenty of people testing an application. With an application like a browser where millions of users become testers of sort, this is bound to happen. So this doesnt bother me, as hopefully one would think the vulnerabilities and major issues will be fixed....
  • Coverity already did a scan (Score:4, Informative)

    by alanjstr (131045) on Thursday September 07 2006, @11:21AM (#16060013)
    (http://alanjstr.blogspot.com/)
    Slashdot already had an article: Firefox Analyzed for Bugs by Software [slashdot.org], where Coverity did automated scanning. That was welcomed by the OS community, as well as by Mozilla who partnered with Coverity to incorporate this.
    • 1 reply beneath your current threshold.
  • Disable-Output-Escaping (Score:4, Interesting)

    by jkeegan (35099) on Thursday September 07 2006, @11:22AM (#16060022)
    (http://www.keegan.org/jeff | Last Journal: Thursday October 16 2003, @05:50PM)
    Well they certainly don't appreciate being reminded that they still don't support the disable-output-escaping feature of XSLT..
    http://bugzilla.mozilla.org/show_bug.cgi?id=98168 [mozilla.org]
  • Firefox a little bit more bloated than it used to? by zwilliams07 (Score:1) Thursday September 07 2006, @11:24AM
  • Many eyes... by eltoyoboyo (Score:2) Thursday September 07 2006, @11:25AM
  • Halting problem revisited? by bugnuts (Score:2) Thursday September 07 2006, @11:25AM
  • Good deal by PenguinX (Score:2) Thursday September 07 2006, @11:25AM
    • Re:Good deal by Reziac (Score:2) Thursday September 07 2006, @12:44PM
  • The more the merrier by thorkyl (Score:1) Thursday September 07 2006, @11:27AM
    • 1 reply beneath your current threshold.
  • Absolutely by psykocrime (Score:2) Thursday September 07 2006, @11:28AM
  • Firefox security and vulnerability by kc2keo (Score:1) Thursday September 07 2006, @11:29AM
  • What about library dependancies? by DigitAl56K (Score:2) Thursday September 07 2006, @11:29AM
  • Error severity is not the same by ovapositor (Score:2) Thursday September 07 2006, @11:30AM
  • Having recently been through this... (Score:3, Insightful)

    by rongage (237813) on Thursday September 07 2006, @11:31AM (#16060102)

    I thought I would put my $.01 cents into the pool here - having recently been through something like this.

    Background: I am the author of some fairly unique software tools that allow you to communicate with industrial Programmable Logic Controllers. I consider the tools I write to be libraries with some example code showing how to use the library. It's all fairly simple stuff but one of my packages does a crapload of mallocs as it reads objects from the controller - basically it mallocs a data struct for every object, and then it also mallocs the data store for each object based on the data type (byte size) and how many items there are (3 dimensional array). In other words, a huge number of mallocs with no associated free statements.

    So one day I get an email from a guy who was interested in using my software but wanted to know when I was going to remove all the memory leaks from my code. He was kind enough to include a valgrind report that showed a huge number of memory allocations that were never freed. It took me forever to explain to the guy that while I could "eliminate those memory leaks", it would also destroy the value of the library as it would in effect delete all the data read out of the controller.

    Moral of the story: bug reports (including things like these code checkers and memory analysis programs like valgrind) are nice, but they need to be properly applied to be useful. Otherwise, these reports can be a significant distraction.

  • I think that's a remarkable number... by TheDarkener (Score:2) Thursday September 07 2006, @11:38AM
  • Well.... by Overfiend1976 (Score:1) Thursday September 07 2006, @11:38AM
  • DUH?!? by x-vere (Score:1) Thursday September 07 2006, @11:39AM
  • As someone who has used Klocwork before... by jonwil (Score:2) Thursday September 07 2006, @11:42AM
  • Criticism... by big_dog_steve (Score:1) Thursday September 07 2006, @11:45AM
  • Heh by MobileTatsu-NJG (Score:2) Thursday September 07 2006, @11:46AM
  • Why wouldn't we want an analysis? by kinglink (Score:2) Thursday September 07 2006, @11:46AM
  • That's a GOOD thing (Score:3, Insightful)

    by melted (227442) on Thursday September 07 2006, @11:47AM (#16060228)
    (http://slashdot.org/)
    The more they find, the more they fix, the more secure Firefox becomes. That's the beauty of open source for you, folks. For IE you wouldn't even know about half the bugs and vulnerabilities (which doesn't mean hackers wouldn't know about them, though).
  • Moo by Chacham (Score:2) Thursday September 07 2006, @11:55AM
  • Bugs? by hpavc (Score:2) Thursday September 07 2006, @11:58AM
  • So the heirarchy is: by jpellino (Score:2) Thursday September 07 2006, @12:09PM
  • Well... SWEET Begina!!! (Score:3, Insightful)

    by eno2001 (527078) on Thursday September 07 2006, @12:14PM (#16060439)
    (http://www.kickthebobo.com/erotech/index.html | Last Journal: Friday October 26, @11:51AM)
    Does the open source community that surrounds Firefox welcome this kind of analysis? I would have to say that's a RESOUNDING YES! As long as the analysis is truthful and reflects real problems that will improve the quality of Firefox I see no reason they wouldn't. Even pointing at minor issues will only help aid Firefox's improvement since it would give the developers a chance to see what people might really care about. And you can bet that if similar analysis was done of Internet Explorer that we'd find the same if not more defects and vulnerabilities. So this is NOT about Firefox vs. IE before anyone goes down that road.
  • Do they welcome this? (Score:4, Interesting)

    by pherthyl (445706) on Thursday September 07 2006, @12:16PM (#16060455)
    Of course they welcome this. Just look at the results page for the Coverty scans and see how many defects have been fixed in major open source projects.
    http://scan.coverity.com/ [coverity.com]
  • Automated Reporting has 'noise' in the errors also by sscottsci (Score:1) Thursday September 07 2006, @12:34PM
  • Microsoft connection? by hisstory student (Score:1) Thursday September 07 2006, @12:35PM
  • The real question isn't... by Foolomon (Score:1) Thursday September 07 2006, @12:38PM
  • fud? by Vexorian (Score:1) Thursday September 07 2006, @12:45PM
  • Excellent! by evil_Tak (Score:1) Thursday September 07 2006, @12:48PM
  • Firefox is the most unstable program in common use [slashdot.org]. Some of the most serious bugs, like the CPU hogging bug, are more than 4 years old. So it's great that the Firefox team is getting some help. They need it.

    (Note that the main bug report linked is always marked invalid. That's not because anything has been done about the instability of Firefox; it's because people on the Firefox team don't want to, or don't know how to, fix the very, very serious bugs. Note also the links to magazine articles about Firefox instability, and the many links to user reports of problems.)

    I'm posting this comment from Firefox version 1.5.0.6. It is using 22 percent of the CPU, even though all pages have been loaded, and there is no active content. That's 22% on the way to 70% or more, which will soon make it necessary to close all windows and tabs of Firefox and reboot Windows XP. (Firefox corrupts Windows XP SP2 with all patches applied, so that it is necessary to restart the OS. In Linux, it is necessary only to kill Firefox to get full control again.)

    The CPU hogging bug in Firefox runs the fan in a laptop computer continuously, meaning that expensive hardware maintenance will be required more often for heavy Firefox users.

    Firefox has extensions, but they often make Firefox unstable. The Firefox team thinks that it is entirely acceptable to market Firefox extensions, but when the extensions cause Firefox to be unstable, to excuse the instability by saying that it is caused by an extension.

    The 1.5.0.4 version of Firefox was quite stable, if the Flashblock extension was installed. The 1.5.0.6 version is unstable again.

    The problem appears to be that Firefox does not allocate enough resources. If you open several Firefox windows and several tabs in each window, and leave them open for several days, or suspend or hibernate your computer a few times, you will find that Firefox has started to hog the CPU.

    It is interesting to note that, when the latest version of Firefox is used with the latest version of Thunderbird, they both have trouble with the CPU hogging bug. The each corrupt the other. Weird, and seemingly a good clue to the flaw that causes CPU hogging.

    Apparently everyone on the Firefox team wants to add features or work on easy bugs. Apparently also, browser programmers are not necessarily heavy browser users. People who often do research on the internet, and open several Firefox windows and many tabs, and leave them open for several days, are certain or almost certain to cause Firefox to become unstable, however.

    Mozilla Foundation Top 14 Excuses for Not Fixing Bugs

    Top 14 things Firefox and Mozilla developers say about those who report difficult bugs, collected during the last 4 years:
    1. Maybe this bug is fixed in the nightly build.
    2. Yes, this bug exists, but other things are more important.
    3. No one has posted a TalkBack report. [If they had read the bug report, they would know that there is never a TalkBack report, because the bug crashes TalkBack, too, or a TalkBack report is not generated.]
    4. If you would just give us more information, we would fix this bug.
    5. This bug report is a composite of other bugs, so this bug report is invalid. [The other bugs aren't specified.]
    6. You are using Firefox in a way that would crash any software. [But the same use does not crash any version of Opera.]
    7. I don't like the way you worded your bug report. [So, I didn't read it or think about it.]
    8. You should run a debugger and find what causes this problem yourself. [Then when you have done most of the work, tell us what causes the problem, and we may fix it.]
    9. Many bugs that are filed aren't important to 99.99% of the users.
    10. If you are saying bad things about Mozilla and Firefox, you must be trolling. [They say this even though Firefox and Mozilla instabili
  • Just an observation. by Beefslaya (Score:1) Thursday September 07 2006, @12:57PM
  • analysis by WeeBit (Score:1) Thursday September 07 2006, @01:02PM
  • Still... by CodemasterMM (Score:1) Thursday September 07 2006, @01:25PM
  • Not bad going by dustrider (Score:1) Thursday September 07 2006, @01:39PM
  • yes, as long as.... (Score:3, Insightful)

    by cliffwoolley (506733) on Thursday September 07 2006, @02:01PM (#16061262)
    Yes, as long as the analysis provides real, useful information.

    I've seen cases before where security companies have discovered big piles of "vulnerabilities" in certain other high-profile open source products. The problem in those cases that made the "vulnerabilities" not entirely welcome "discoveries" was that really the security company had just run their automated code analysis product over the OSS codebase and dumped the results on the OSS community without looking over them first to weed out the sometimes large numbers of false positives. The security companies in those instances, presumably, were more interested in promoting their own security product ("look at all these vulnerabilities our product found!") than in truly enhancing the OSS product being examined.
  • bleach & onion patches by foQ (Score:1) Thursday September 07 2006, @02:10PM
  • Of course they do by DrXym (Score:2) Thursday September 07 2006, @02:33PM
  • Of cource! by zerosix (Score:1) Thursday September 07 2006, @02:42PM
  • Welcome this kind of analysis (Score:4, Insightful)

    by aCapitalist (552761) on Thursday September 07 2006, @02:44PM (#16061592)
    What are your thoughts -- do Firefox and the open source community welcome this kind of analysis?

    First we have the obligatory borg-like, "the community" reference. But the question should be re-phrased to "How many of you are so emotionally immature and insecure that you'll throw a tantrum because there might be something not uber-positive said about Firefox, Linux, Gnome, KDE...?"

    P.S. who is making these thought decisions for "the community"?
  • It's sorta like... by E++99 (Score:2) Thursday September 07 2006, @03:08PM
  • Yes. by bradtes (Score:1) Thursday September 07 2006, @03:36PM
  • Never Fear Window Snyder is here :D by DaveRexel (Score:1) Thursday September 07 2006, @03:46PM
  • What's Really Significant Here by CyberLife (Score:2) Thursday September 07 2006, @05:34PM
  • Im woried by POds (Score:2) Thursday September 07 2006, @05:46PM
  • Version? by tonyr1988 (Score:1) Thursday September 07 2006, @06:18PM
  • Does it take a tool to highlight bugs by rhubarb42 (Score:1) Thursday September 07 2006, @07:04PM
  • well... by oohshiny (Score:2) Thursday September 07 2006, @07:21PM
  • Most are glaring bugs that aren't being fixed.... by spinctrl (Score:2) Thursday September 07 2006, @07:25PM
  • Re: 611 Defects... by c0sine (Score:1) Friday September 08 2006, @12:07AM
  • okey, that's pretty low number of holes by AnXa (Score:1) Friday September 08 2006, @02:32AM
  • The most common types of vulnerability by Ed Avis (Score:2) Saturday September 09 2006, @10:47AM
  • bugs != exploits (Score:3, Insightful)

    In your post, you conflate software bugs with security vulnerabilities. These two things are not equivalent; at best, security vulnerabilities are a subset of software bugs.
    [ Parent ]
  • Re:Oh noez by dvice_null (Score:1) Thursday September 07 2006, @11:51AM
  • Re:Oh yeah, they welcome it by shani (Score:2) Thursday September 07 2006, @12:31PM
    • 1 reply beneath your current threshold.
  • Re:Yeah, but how many people on /. are FF develope by dveditz (Score:1) Thursday September 07 2006, @07:38PM
  • Re:Oh noez by ClosedSource (Score:2) Thursday September 07 2006, @10:24PM
  • 27 replies beneath your current threshold.
(1) | 2