Slashdot Mirror


Microsoft, zlib, and Security Flaws

nakhla writes: "News.com is reporting that Microsoft's use of code from the open-source zlib library has led to possible security problems. The flaws in zlib were reported recently, and apply to several key Microsoft technologies, such as DirectX, Front Page, Install Shield, Office, and Internet Explorer. The article also mentions how this is not Microsoft's first use of open-source code in its software, but does point out that since zlib is not GPL'd they are under no obligation to release the source code to any of their products."

171 of 470 comments (clear)

  1. Just waiting for the press release... by Nonesuch · · Score: 4, Funny

    Any bets on how long before Microsoft issues a press release noting that this is yet another risk of using evil open source and open standards?

    1. Re:Just waiting for the press release... by Mr+Windows · · Score: 4, Interesting
      ISTR that MS are nominally in favour of open source, as long as it's not that nasty cancerous GPL open source. Now we see why: if they can use others' work without having to reciprocate, it makes life better for them (in the short term, that it).

      Of course, if zlib had been GPL, they couldn't (legally...) have used it without releasing their source, and in this case, they might have avoided the security risks: either non-use of zlib (not affected by this vulnerability) or use of zlib + release of code (easy and quick for anyone to release a patch, instead of having to wait for the "official" version with all it's "added extras").

    2. Re:Just waiting for the press release... by jmu1 · · Score: 3, Insightful
      I'll bite, but only for a nibble.

      The way I see it, Microsoft can't complain b/c zlib will have a fix LONG before they have even thought about patching. They won't have to do near as much work to find the fix... they'll just rebuild.

    3. Re:Just waiting for the press release... by jedidiah · · Score: 3, Insightful

      This bug doesn't alter anything really. This situation is more a success of the Bazaar development model rather than one of it's failure. Due to wide availability of sourcecode, a VAR descovered an esoteric bug while providing tech support for another program.

      Microsoft can hurl propaganda any day it likes.

      I don't think this situation really gives them a "leg up" in that sort of endeavor.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    4. Re:Just waiting for the press release... by grub · · Score: 3, Insightful



      actually i'm waiting for all the open source hypocrits to issue a press release noting that this is yet another risk of using microsoft products

      The patches for many of the open source products are already out with more to come. Where are Microsoft's? There is a risk.

      --
      Trolling is a art,
    5. Re:Just waiting for the press release... by leonbrooks · · Score: 2
      So if they use evil and risky open source software why did they do it?

      Oh, it's OK for them to use BSD-ish software, just not for their poor stupid customers who have no brains (else why would they either buy our stuff or trust us?).

      Seriously, I'm betting it was desperation. They couldn't get their own stuff to work for love nor money, so they borrowed someone else's brains. It worked pretty well for NT (AKA Digital Equipment Corp's MICA or broken VMS in fancy dress) and for SQL Server. Not so well for Stacker or SpyGlass, but in the end they came out ahead, which is all that really matters to a corporation like that.

      --
      Got time? Spend some of it coding or testing
    6. Re:Just waiting for the press release... by Com2Kid · · Score: 2

      The idea is that if a product you own uses Zlib and is compleatly opensource, that you can most likely just download the fixed zlib source and the source to the program and compile and have a version of the program that does not have the bug.

      Which would mean that you get to avoid any vulnerability periods in your software during which the bug is widely known but there is no security fix for it.

      THAT is what open source is all about, if something breaks, even if you cannot fix it, you can download the fixed modual and the original sourcecode and compile it all together with the handy included step by step instructions. :)

    7. Re:Just waiting for the press release... by mpe · · Score: 2

      With GPL selling of software is impossibel as long as you are not the OWNER of the software.

      Utter rubbish, you can sell GPL software for any price someone is prepared to pay you for it, subject to complying with the terms of the licence. Just that since anyone else can compete with you, trying to make massive profits will typically put you out of business.

    8. Re:Just waiting for the press release... by leonbrooks · · Score: 2
      WindowsNT?

      Oh you mean where they actualy PAID some real developers and coders to come in and make a real OS? (as opposed to buying one for pocket change. :D )

      No, not exactly. Windows NT was at first spelling-error-compatible with MICA - a variant of Digital Equipment Corporation (aka DEC) VMS - which may just have been a coincidence but for the fact that they hired away the head MICA developer from DEC to do this.

      Oh and after they ditched the stolen Stacker code the issues with the built in compression on MS systems pretty much went away

      I think that's mostly because people stopped using compressed drives.

      at least IE does not use the old Netscape HTML rendering engine

      Yah. Terrible shame that M$ don't use Gecko instead, though. Since Gecko's modular, they wouldn't even have to worry about that terrifying GPL business.
      --
      Got time? Spend some of it coding or testing
  2. Tally anybody? by ILikeRed · · Score: 2, Offtopic

    I wonder if anyone is keeping a running tally since the security initiative started???

    Here is another bug with the MicroSoft SQL server. They've got overflows in their stored procedures. No fix, but you can delete the files if you can live without them....

    --
    I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
  3. Re:Seriously? Microsoft use open source code? by larien · · Score: 2
    I get the impression that 90% of the world's operating systems (including Windows and commerical versions of Unix) use some code from the BSD TCP/IP stack. Of course, the BSD license is more forgiving than the GPL regarding source code, this isn't a license violation.

    Of course, having everything derive code from the same source is a risk; isn't this part of the reason the ping of death was so much of an issue?

  4. Re:Seriously? Microsoft use open source code? by Jinky · · Score: 2, Interesting

    You'd be right :), starting with Win2k, and in WinXP, they're using basically Unix TCP/IP sockets. Must admit that it does work much better than Win9x for network connectivity.

  5. This wouldn't have happened... by bourne · · Score: 2, Funny

    ...if the government hadn't worked so hard to limit Microsoft's ability to innovate.

    :P
  6. Re:If we can't see MS's source by Stonehand · · Score: 5, Informative

    Quite a few people can, at universities and other sites. They just need to sign NDAs, that's all. Also, given that they take several hundred interns per year, and they aren't all fanatical Gates fans, there's a fair bit of opportunity for internal leaks as well.

    --
    Only the dead have seen the end of war.
  7. InstallShield by sharkey · · Score: 5, Informative

    InstallShield is written and published by a company named InstallShield, and has been for many years. It is not a "Microsoft technology", but rather a technology that has support for creating software installation routines for Windows, amongst other OSes.

    --

    --
    "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
    1. Re:InstallShield by DebtAngel · · Score: 2

      InstallShield is now a GUI for the Microsoft Installer, which is most certainly a Microsoft product.

      Using Microsoft Installer is a requirement to get the official "designed for Microsoft Windows 2000" sticker on your product, and I assume its the same for XP. Wise also has a front end to the Installer system, IIRC and FWIW.

      --

      Is this post not nifty? Sluggy Freelance. Worshi

    2. Re:InstallShield by ChrisDolan · · Score: 5, Funny

      Similarly, IE is not written by Microsoft either. It's alien technology. It was discovered by a MS coder who stumbled on a crashed spacecraft while hiking in the woods in the mid-90s. Using him as a vessel, the program infected the Windows codebase and has grown since then, digging it's tendrils deeper and deeper into the system.

      So when MS says they can't remove IE from Windows, it's true.

    3. Re:InstallShield by Tsujigiri · · Score: 2

      So when MS says they can't remove IE from Windows, it's true.

      Actually they can, it's just that The Beast won't let them...

      --

      "I'll take the red pill. No! Blue! AAAaaaahhhhhhhhh"
      - Monty Python meets the Matrix

    4. Re:InstallShield by armb · · Score: 2

      > Similarly, IE is not written by Microsoft either.

      Originally, it wasn't, but is there any of Spyglass Mosaic still left in IE?

      --
      rant
  8. notification issue by ethereal · · Score: 5, Insightful

    Here's what I want to know: the zlib maintainers know that their code is heavily used in open source product, and they can easily use ldd on a typical Linux or *BSD install to find out exactly which programs use zlib. So they know who to contact about vulnerabilities. However, if Microsoft just takes open source code and incorporates it into their products, how will the zlib folks know to contact them prior to public disclosure? It surely can't be the responsibility of the zlib team to grep through every single closed-source binary out there in order to make sure that it didn't use zlib.

    It seems like if there isn't a mailing list for every single library's security issues, then closed source vendors will become second-class citizens when it comes to getting forewarning about a big security announcement like this. This seems like what has happened to Microsoft in this case; otherwise they would have had a raft of fixes available when the original story was released, right?

    The other alternative is the vendor early warning list idea that Microsoft has been pushing, but the problem with that is: the more people on the list (and you'd have to have hundreds of vendors in the case of a base library like zlib, I'd think), the more likely that one of them will leak the story to the black hats, so that the delay while vendors prepare patches becomes a liability for the unpatched public. That doesn't seem like a good scenario to me either.

    --

    Your right to not believe: Americans United for Separation of Church and

    1. Re:notification issue by garett_spencley · · Score: 5, Informative

      I don't see it as the zlib author's responsibility to notify everyone that uses their library.

      I do feel that they should (but are not obligated to) send out a few public notices that will be spread around so that people who's programs use the library can update it and that's exactly what they did.

      Also the big problem with this security issue isn't programs that dynamically link to libz.so. Those are easy to fix because all you have to do is upgrade your zlib and they're automagically fixed.

      It's the programs that statically link the zlib library (meaning it gets copied right into the actual binary at compile time) that you have to worry about because an ldd won't show you that.

      Also many people use their own modified version of zlib (XFree86, rpm, rsync, the linux kernel etc.) and so those are very hard to catch as well.

      Florian Weimer wrote a perl script which will check for binaries on your system that are statically linked. You can read his post to Bugtraq here.

      --
      Garett

    2. Re:notification issue by Florian+Weimer · · Score: 2

      Some distributors have patched XFree86 to link dynamically against the system zlib.

    3. Re:notification issue by Florian+Weimer · · Score: 2

      It seems like if there isn't a mailing list for every single library's security issues, then closed source vendors will become second-class citizens when it comes to getting forewarning about a big security announcement like this.

      I don't believe this is true. Look at this list. Many vendors were contacted in advance, vendors of proprietary and free software. However, CERT/CC probably assumed that this is a pure UNIX vulnerability, and did not contact all vendors. (In fact, they should have contacted Microsoft nevertheless, because of Interix.)

      However, we can clearly see one thing (if you look at the find-zlib output): Most proprietary vendors do not update their copies of zlib at all. Previous versions of zlib had their problems, too, and yet the vendors didn't care, even though the software was still maintained. Probably they had already forgotten that the code came from an external source. Free Software projects are different here, I guess: New upstream sources are merged in a rather timely fashion.

    4. Re:notification issue by csbruce · · Score: 3, Informative

      I do feel that they should (but are not obligated to) send out a few public notices that will be spread around so that people who's programs use the library can update it and that's exactly what they did.

      Unless I am missing my guess, I ran into this particular bug in zlib about a year ago and I e-mailed the people at the project address. They responded that they already knew about it and sent me the patch. So what exactly is it that happened recently? Did someone figure out a way to use the bug to crack a system and this set off all kinds of alarms? There should have been a zlib fix-up release a long time ago.

    5. Re:notification issue by Anonymous Coward · · Score: 2, Informative

      The problem is that glibc doesn't handle the zlib bug properly, and the bug produces a buffer overflow.

      So it's a bug in only Linux (which uses glibc) and all the hand waving here is an attempt to muddy the truth up.

      The people who know their shit can figure it out in a few minutes. Then those in the know who are Linux advocates can wipe the egg off their face and get on with life.

      The people who don't know shit, of course, will continue to run around trying to pretend it's not a Linux-specific security problem. The egg will dry on their faces.

    6. Re:notification issue by csbruce · · Score: 2

      The problem is that glibc doesn't handle the zlib bug properly, and the bug produces a buffer overflow.

      No, I think that any reasonable programmer would classify an attempt to free() a memory block twice as an application bug. The glibc library could handle it more gracefully, but it's really not obligated to. The only special required behaviour about the ANSI-C free() interface is that it is obligated to accept a NULL pointer as a no-op.

  9. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  10. Re:Seriously? Microsoft use open source code? by axlrosen · · Score: 2, Insightful

    Of course, having everything derive code from the same source is a risk

    Depends on how you look at it. If there were N completely independent TCP/IP implementations out there, wouldn't there be N times as many bugs (each one affecting 1/N as many systems, on average). Homogeneity means only one codebase to debug and fix. But of course when a bug is found, it affects everyone.

  11. Debian? by DRO0 · · Score: 2, Interesting

    Naive question probably, but if zlib isn't GPL then does Debian use a different library and if so, is it affected by this issue?

  12. Now what would have been interesting... by borgquite · · Score: 4, Funny

    is if when they released the patch for the security flaw they made the patch GPL... just imagine Microsoft having to recode all that stuff for themselves :)

    --
    ' Ore stabit fortis a fine placet ore stat '
    - found on a park bench
  13. hrm... by Em+Emalb · · Score: 2, Informative

    "The zlib library has been a fundamental open-source software component for almost a decade and can be found in almost every Linux and Unix system. That means the so-called "double free" flaw in the library may leave a hefty portion of Linux and Unix systems open to attack. Because it adopted some of the code, Microsoft apparently has made itself vulnerable to the flaw as well. "

    Disclaimer: I am not a security weenie, so I don't know this for fact......*deep breath*....

    If this is true, why is it only news for MS? It appears that Linux and Unix is also vulnerable. So why only set up the article as MS related?

    *bash MS* bash bash bash....it's popular right?

    --
    Sent from your iPad.
    1. Re:hrm... by IO+ERROR · · Score: 5, Interesting
      If this is true, why is it only news for MS? It appears that Linux and Unix is also vulnerable. So why only set up the article as MS related?


      Because we found out for Linux/Unix several days ago and got our systems fixed within 24 hours. Microsoft is still trying to figure out what the hell is going on.


      *bash MS* bash bash bash....it's popular right?


      It's popular, easy, and well-deserved in this case. So much for M$ paying attention to security. Someone in M$ should have known they used zlib code, exactly where it was, and gotten patches out in a reasonable timeframe. They didn't. Bash bash bash.

      --
      How am I supposed to fit a pithy, relevant quote into 120 characters?
    2. Re:hrm... by irix · · Score: 2

      It was news for Linux/UNIX earlier this week idiot. Go crawl back under your Microsoft apologist rock please.

      --

      Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
    3. Re:hrm... by brettb · · Score: 2, Interesting

      Of course some ./er's will take the opportunity to bash Microsoft but the article itself isn't.
      The zlib library vulernabilty and how *nix based systems are affected has
      already been discussed on slashdot.

      This Cnet article references the previous Cnet article on the subject which speculated that since zlib is a programming library that could be used across platforms that other OS's application programs may be affected as well.

      I don't see this article as Microsoft bashing. It just adds a new slant to the previous article and confirms that *nix systems aren't the only ones affected.

      This is important information for those Microsoft admins out there who may not care about last weeks headline "Flaw Leaves Linux Computers Vulnerable". Maybe now they'll be keeping their eyes open for patches of their affected software

      .

    4. Re:hrm... by Black+Parrot · · Score: 3, Interesting


      > Because the other Open Source OSes have already been patched, primarily because of the fact that they are open source.

      Indeed; in this case we get a wonderful A/B comparison of the way OSOSes and CSOSes handle vulnerabilities. The comparison is rarely so exact, and thus rarely so revealing.

      --
      Sheesh, evil *and* a jerk. -- Jade
    5. Re:hrm... by sheldon · · Score: 2

      It was well known at the time the Linux article came out that Microsoft also had zlib code in their software.

      I mean... DUH... IIS and IE support the Content-Encoding extensions from HTTP 1.1 that use gzip for compression and the easiest way for them to have implemented that was functions from zlib.

      Now what I want to know is how you have come to the conclusion that Microsoft uses the code in the specific way necessary to exploit it. Or if they even use that particular function, or if they haven't already fixed it long ago in their source tree.

      Speculation and wild claims don't add any value, and that's what this article does and what your post does. Yes, it is popular to bash MS.

      Now let's get to the real question. How come this bug got into zlib in the first place?

    6. Re:hrm... by uebernewby · · Score: 2

      Bullshit. The zlib MS uses is just as open source as the one on linux.

      --

      News and bla for computer musicians: http://lomechanik.net/
    7. Re:hrm... by cperciva · · Score: 2

      Indeed; in this case we get a wonderful A/B comparison of the way OSOSes and CSOSes handle vulnerabilities.

      And what does the comparison tell us?
      1. A Open Source Operating System contained a bug which could be a security flaw. Patches were released within a few days.
      2. A Closed Source Operating System contained the same bug, but due to design differences, the bug was not a security flaw. Since the bug wasn't an urgent problem, it got added to the bug-fixes-for-the-next-service-pack queue.

      I think if you want any sort of exact comparison, you'd have to look at cases where the same bug caused the same level of harm.

    8. Re:hrm... by praedor · · Score: 2

      Consider this: it appears that M$ will have to release a fixpak/security pak for a bunch of apps while for me with linux (and people using BSD, etc) all we need to do is install the new zlib - which was available virtually at the same time the POTENTIAL vulnerability was discovered/released. Then, all *nix people need do is restart whatever net-connected app/server they were running that uses zlib and it is fixed. No replacing apps with fixed apps, just replace the lib without ever rebooting.


      You will eventually receive a big security fix from M$ that replaces whole applications AND have to reboot to make it work.


      So, two comparisons can be made between the free-os users and the M$ slaves: 1) fixes are produced and available immediately for free-os people but it will be a while before M$ figures out what to do, and 2) simply installing the new lib and, perhaps, restarting a couple applications is all it takes for a fix for the free-oses but M$ users will have to replace whole applications and reboot.


      M$ kinda trashes itself in comparison.

      --
      In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
    9. Re:hrm... by jedidiah · · Score: 2

      Microsoft will likely be the LAST vendor to have fixes available for this. This is contrary to the fact that they have the greatest resources of anyone that may use zlib.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    10. Re:hrm... by statusbar · · Score: 2

      Microsoft has many programmers on the payroll. What I would like to know is WHAT DO THEY DO? Are they not capabile of writing their own zlib?

      jeff

      --
      ipv6 is my vpn
    11. Re:hrm... by Florian+Weimer · · Score: 2

      Because we found out for Linux/Unix several days ago and got our systems fixed within 24 hours. Microsoft is still trying to figure out what the hell is going on.

      Not quite correct. Most vendors hat several weeks to work on a fix. As usual, they were notified in advance, because of the potential seriousness of this problem (if it were actually exploitable).

    12. Re:hrm... by krmt · · Score: 2
      *bash MS* bash bash bash....it's popular right?

      Well, is this really bashing? I think it's more bringing to attention a security flaw that may have slipped by. This one happens to be interesting because of the politics involved, as well as the fact that the same security flaw affects just about all of us (which is a testament to Free Software in itself.) That doesn't make it bashing though, it just means that everyone running Windows will likely have to patch their systems the same way that the Linux users did.

      But then, bashing slashdot these days has become even more popular than bashing MS.
      --

      "I may not have morals, but I have standards."

    13. Re:hrm... by JordanH · · Score: 2, Insightful
      • Are they not capabile of writing their own zlib?

      But, that wouldn't be taking advantage of the "healthy eco-system of free and proprietary code" that Bill likes to tout so much.

      Funny, MS is a big black hole, sucking in all the advantages of any Open Source they can find for their products, and, AFAIK, never producing any Open Source for the community and yet they have the nerve to whine about the "pac-man nature" of the GPL.

    14. Re:hrm... by leonbrooks · · Score: 2
      Open Source Operating System contained a bug which could be a security flaw. [...]

      Closed Source Operating System contained the same bug, but due to design differences, the bug was not a security flaw.

      FWIW, it is not yet a security flaw for the OSOS. If someone eventually figures out how to exploit it (difficulty level: 8, bonus points for an animated splash screen, souble bonus for multiple architectures), most OSOS systems will have long since been patched against it, and the few remaining will be self-curing.

      Meanwhile, the CSOS vendor has absolutely NFI whether they have a security vulnerability or not, and won't know for many weeks or months. Because it is CS, we can't fix it for them.

      Since the bug wasn't an urgent problem, it got added to the bug-fixes-for-the-next-service-pack queue.

      IRL, that's the bug-changes-for-the-next-SP queue.
      --
      Got time? Spend some of it coding or testing
  14. Re:Win2k news thought... by ghostlibrary · · Score: 4, Informative

    Argh! Bad statistics alert!

    "vulnerabilities found in Windows and all Linux flavors combined are almost the same"

    So if I am running RedHat, Mandrake, SUSE, and Debian simultaneously, I have the same number of flaws as a single run of Win2k?

    They should either use the average (among linux dists) or the max (ditto), vs Win. Or sum across all current Win flavors (ME, Win2k. maybe NT) to compare against all linux flavors (summed).

    Argh!

    --
    A.
  15. Re:If we can't see MS's source by Mr+Windows · · Score: 2, Flamebait

    That's OK in principle, but how can anyone who looks at a piece of code know whether it really was written by MS or was GPLed with the serial number (erm, copyright notice) filed off? MS removed the copyright notice of zlib, according to the article, so it's not beyond them to do that with a piece of GPLed code. Not that I'd ever suggest that they'd do such a thing, but it's obviously very hard to check for plagarism (unless MS put all their code through turnitin!).

  16. Re:Seriously? Microsoft use open source code? by DA-MAN · · Score: 2, Informative

    And Windriver or whoever controlled BSDI at the time made some serious cash in that deal. They got paid to make the tcp/ip stack work well in 2000/XP and they've done a good job of it.

    I just wonder if Microsoft was able to taint some of the BSD coders by allowing them to view their code. I'm sure integrating something like a TCP/IP stack required access to some 2000/XP src code. Anyone know?

    --
    Can I get an eye poke?
    Dog House Forum
  17. Here is a list of apps vunerable by ZaneMcAuley · · Score: 2, Informative

    http://www.gzip.org/zlib/apps.html

    At least nine of Microsoft's major applications--including Microsoft Office, Internet Explorer, DirectX, Messenger and Front Page--appear to incorporate borrowed code from the compression library and could be vulnerable to a similar attack.

    "Borrowed"? Whats the license for zlib?

    --
    ----- Whats wrong with this picture? http://www.revoh.org:1234/whatswrong
    1. Re:Here is a list of apps vunerable by IO+ERROR · · Score: 2
      From zlib-1.1.3:

      Copyright notice:

      (C) 1995-1998 Jean-loup Gailly and Mark Adler

      This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

      Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

      1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
      2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
      3. This notice may not be removed or altered from any source distribution.
      Jean-loup Gailly Mark Adler
      jloup@gzip.org madler@alumni.caltech.edu

      If you use the zlib library in a product, we would appreciate *not* receiving lengthy legal documents to sign. The sources are provided for free but without warranty of any kind. The library has been entirely written by Jean-loup Gailly and Mark Adler; it does not include third-party code.

      If you redistribute modified sources, we would appreciate that you include in the file ChangeLog history information documenting your changes.

      --
      How am I supposed to fit a pithy, relevant quote into 120 characters?
  18. Borrowed Code? by Spit_Fire1 · · Score: 2, Funny

    The next-generation Graphics Device Interface is part of Windows XP, meaning that the operating system itself could be at risk.
    the colors were just screaming security flaw already weren't they?

    Yet, the incident seemingly proves that Microsoft, despite dismissing open-source code publicly, has used software from others to create their own products.
    And now they are forced to admit what we already knew, they haven't written anything original since...well...ever! :P

    The zlib compression library doesn't use the GPL, however.
    and the war between MS and GPL coninues, maybe the linux community could use Anime-based uniforms to storm microsoft and take the code back.

    --

    "The secret of success is to know something nobody else knows." -Aristotle Onassis
  19. GPL is not about giving things away by pyrrho · · Score: 2, Interesting

    Microsoft is an old hand at using public domain stuff! They don't dislike it... like all companies they grew used to swallowing it up! It's even cheaper than buying QDOS was.

    No, the GPL is not about giving software away, that was already happening. It was about KEEPING software GIVEN AWAY.

    --

    -pyrrho

  20. Re:Seriously? Microsoft use open source code? by leviramsey · · Score: 4, Informative
    Either way, browsing other competitor products code whether its free, open GPL or whatever is gonna be risky for a business in legal terms.

    How is reading, even verbatim copying, of BSD-licensed code risky in legal terms. The license explicitly allows incorporation into any type of software (commercial, open, or free). Microsoft could put out their own version of one of the *BSDs, with the only difference from it's base BSD being having the Windows GUI grafted on top of it and no source included.

    The relevant passage in the BSD license (from http://www.freebsd.org/copyright/license.html ):

    Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

    All advertising materials mentioning features or use of this software must display the following acknowledgement:

    [ACKNOWLEDGEMENT DELETED FOR BREVITY --LR]

    There are licenses that are the BSD license, less the advertising clause (it is the advertising clause that prevents BSD from being a free license according to the FSF), such as the MIT license. These licenses are the freest of all the licenses (short of public domain).

  21. Re:oh goody by pyrrho · · Score: 3, Funny

    > have never spent time with Windows 2000.

    I'm sure this is a typo. You must have meant "did time".

    --

    -pyrrho

  22. Re:oh goody by Chris+Burke · · Score: 2

    I use Win2k on a daily basis and I hate it. But I take comfort in that my main workstation is a linux box, and the win2k box is there just because I'm porting code at the moment. But yes, I have spent much time with win2k. Much like a venereal disease, intimite knowledge of the subject doesn't make me want to bash it -less-.

    --

    The enemies of Democracy are
  23. If you ever had any doubt... by SlashChick · · Score: 5, Informative

    ...that Microsoft uses free software, I invite you to take a look at this.

    In Windows 2000, open a command prompt window. Type "nslookup". This will drop you into interactive mode for nslookup, which has been ported from UNIX (most likely BSD.)

    Now type "help". Check out this line at the bottom of the output:

    view FILE - sort an 'ls' output file and view it with pg

    Uh, yeah. Oops.

    1. Re:If you ever had any doubt... by Gabey · · Score: 3, Informative

      Actually, I think that's referring to the ls commands that you can give to nslookup:

      ls [opt] DOMAIN [> FILE] - list addresses in DOMAIN (optional: output to FILE)

      -gps

    2. Re:If you ever had any doubt... by istartedi · · Score: 2

      I'm surprised that anybody has to be "convinced" MS uses Open Source code. I've always thought it was common knowledge. Also, you could have just looked in Help About for IE and seen that it uses the Independant JPEG Group code. Based on this prior behavior, I always assumed they used the free PNG implementation. Since PNG uses zlib, MS uses zlib.

      Now, if MS were smart they'd have a standard place for libjpeg.dll, libpng.dll, and zlib.dll but as far as I know there is no such thing. Either the functions are in some other DLLs, or the names are obfuscated. This bug, combined with MS's "security initiative" represents a golden opportunity: MS could take the occasion to give us "standard" DLLs so that developers would no longer have to package them, and could instead say something like "make sure you have this service pack and if you don't, here it is".

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    3. Re:If you ever had any doubt... by DeadMeat+(TM) · · Score: 4, Informative

      C:\WINNT\system32>strings NSLOOKUP.EXE|grep Copyright
      @(#) Copyright (c) 1985,1989 Regents of the University of California.
      That answer your question?
    4. Re:If you ever had any doubt... by mpe · · Score: 2

      In Windows 2000, open a command prompt window. Type "nslookup". This will drop you into interactive mode for nslookup, which has been ported from UNIX (most likely BSD.)

      It would have to be something with a licence such as the BSD licence which makes the code almost "public domain". Since Microsoft wouldn't want to touch anything covered by something like the GPL, since such a licence enforces copyright. They'd look very stupid as a bunch of software pirates moaning about piracy.

    5. Re:If you ever had any doubt... by mpe · · Score: 2

      Now, if MS were smart they'd have a standard place for libjpeg.dll, libpng.dll, and zlib.dll but as far as I know there is no such thing. Either the functions are in some other DLLs, or the names are obfuscated.

      Or possibly even different bits of them are scattered between other DLLs. Remember that Microsoft's method of making IE part of the OS appears to include deliberatly writing what amounts to "sphagetti code". If things were neatly structured then removing components would be much simpler.

  24. Re:oh goody by geekoid · · Score: 2

    Well, I spend time with 2000, and its almost as good as kde and gnome.
    And i've only got to crashes, which cause the machine to auto-reboot.
    To have a really crappy product(s) then releasing something thats better doesn't mean the new thing is good, just not as crappy.

    So what, exactly, has MS done thats good?

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  25. BSD code in NT4 utils at least by Cally · · Score: 3, Interesting

    Evidence uncovered last summer points to the Windows operating system borrowing some networking utilities and possibly parts of the TCP/IP stack, the core software that allows networking and Internet connectivity, from the open-source Unix variant FreeBSD.

    Theo de Raadt, a founder and project leader for another open-source Unix variant, OpenBSD, stressed that no conclusive proof exists, however. "I have asked repeatedly and never gotten proof," he said.


    Well it's easy to show that they use /some/ BSD
    code, at least. This is Cygwin / bash on NT4:


    andrew@INEGO(22:18:47)
    [path...] /WINNT/system32 $ grep -i regent *.EXE
    Binary file FINGER.EXE matches
    Binary file FTP.EXE matches
    Binary file RCP.EXE matches
    Binary file RSH.EXE matches

    --
    "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
    1. Re:BSD code in NT4 utils at least by poot_rootbeer · · Score: 2

      [path...] /WINNT/system32 $ grep -i regent *.EXE
      Binary file FINGER.EXE matches
      Binary file FTP.EXE matches
      Binary file RCP.EXE matches
      Binary file RSH.EXE matches


      That proves nothing. What if there are simple easter eggs in these binaries where that noted Microsoft developer and rock star, Ted Regent, snuck his name into the code?

    2. Re:BSD code in NT4 utils at least by joelsherrill · · Score: 2, Informative


      My machine has a bunch of stuff on it so a virgin
      Win2K system MIGHT have different results but I
      handchecked that the file's date matched the
      install date on the machine. So CAVEAT EMPTOR...
      a slightly fancier grep and some patience ...

      find . -type f | while read f
      do
      strings "$f" | grep -i "Copyright " | grep -v Microsoft
      test $? -eq 0 && echo $f
      done

      showed up Thomas Lane's open source JPEG work in multiple places, Mark H. Colburn's work in system32/pax.exe, Mark Adler's PNG work in at least system32/pngfilt.dll and a few more interesting cases.

      system32/offfilt.dll has Mark Adler's inflate in it.

      c:\Program Files\Common Files\Microsoft Shared\VGX appears to have zlib based upon this:

      $ strings Program\ Files/Common\ Files/Microsoft\ Shared/VGX/vgx.dll | grep -i Copy
      4,f deflate 1.1.3 Copyright 1995-1998 Jean-loup Gailly
      f,f inflate 1.1.3 Copyright 1995-1998 Mark Adler

      And Adobe Acrobat PDFWriter also uses zlib per system32/spool/drivers/w32x86/2/pdfdd.dll.

      This is far from exhaustive of 100% scientfic but a good starting point.

      --joel

    3. Re:BSD code in NT4 utils at least by Cally · · Score: 2
      Oh for heaven's sake, some people...





      /cygdrive/[...]/WINNT/system32 $ strings *.EXE --print-file-name | grep -i regent
      FINGER.EXE: @(#) Copyright (c) 1980 The Regents of the University of California.
      FTP.EXE: @(#) Copyright (c) 1983 The Regents of the University of California.
      RCP.EXE: @(#) Copyright (c) 1983 The Regents of the University of California.
      RSH.EXE: @(#) Copyright (c) 1983 The Regents of the University of California.


      Satisfied now???

      --
      "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
  26. mutatis mutandis by nickynicky9doors · · Score: 2

    The next-generation Graphics Device Interface is part of Windows XP, meaning that the operating system itself could be at risk.

    Am I right in assuming this won't effect NT4 and is a direct outcome of putting the GDI back in the kernel unlike in the true microkernel architecture like HURD?

    --

    heuristic algorithm seeks stochastic relationship
    1. Re:mutatis mutandis by afidel · · Score: 2, Informative

      Well you seem to be implying that NT4 does not put the graphics code in the kernal, this is incorrect. This was one of the biggest "improvements" from nt 3.51 -> nt 4.0 is that the graphics subsystem got moved into the kernal for a speed increase. It is also (when coupled with crappy drivers) the second leading cause of nt instability after IIS =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:mutatis mutandis by nickynicky9doors · · Score: 2

      Thnx I thought the change happened with NT5 akaa Windows 2000, my mistake, sorry :) So David Cutler's original 3.1 design was fundamentally changed with the intro of NT4... I guess that would explain the new version number.

      --

      heuristic algorithm seeks stochastic relationship
    3. Re:mutatis mutandis by nickynicky9doors · · Score: 2

      uhm no. You've spewn some madness from Win9x. The discussion was centred on NT4. You're wrong you now must go far far away never to return. 'ta

      --

      heuristic algorithm seeks stochastic relationship
  27. None the less ... by TheViffer · · Score: 2

    "if" M$ does use GPLed source, somewhere down the line it will come out.

    Case in point. A GPLed piece of software has bug X, and strangly enough, a M$ product has the same bug.

    It maybe worth the time to test major bugs in GPLed software against M$ programs if such simularities do exist.

    Just a thought.

    --
    -- Knowing too much can get you killed, but knowing who knows too much can make you rich.
    1. Re:None the less ... by rjamestaylor · · Score: 2, Informative

      Why wait for a bug? Scan for "signatures". That's how the use of BSD's TCP/IP stack was determined (that, and the "Regent" copyright).

      --
      -- @rjamestaylor on Ello
    2. Re:None the less ... by mpe · · Score: 2

      Why wait for a bug? Scan for "signatures". That's how the use of BSD's TCP/IP stack was determined (that, and the "Regent" copyright).

      The BSD licence allows Microsoft to use the code. So why do they need to take the copyright statements out. If they were pirating GPL code they would be utterly stupid to leave any such easy to find indications in.

  28. Re:oh goody by geekoid · · Score: 2

    First off, its nice to know you'll stand up for what you think only if you have karma to burn. i.e. nothing to lose.

    I won't use XP, because I don't trust it, at all. I'd like to see MS put together a nice OS thats trustworthy to me, not to the varies media orginiations, not to MS, to me.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  29. Re:Win2k news thought... by Chris+Burke · · Score: 3, Interesting

    I think it would be better to take the -union- of the vulnerabilities across all Linux distributions. This would prevent duplicates being counted (if you did the operation correctly), but would give an idea for flaws that may exist in distros.

    Though really, that doesn't give you a good view, because if certain flaws only exist in certain distros, then you would be free from those flaws in another distro.

    And if you just took the max, that might show you that a certain distro is really bad for security, but not much about linux in general. If the max was much larger than the mean, then that would just mean you shouldn't get that distro.

    Probably the best is to just compare each version of windows and each distro separately, and you can then make a decision that way.

    --

    The enemies of Democracy are
  30. Re:oh goody by NanoGator · · Score: 2

    People have a stigma that there should be one solution to every single problem out that. It's like that in the 3D space. There are purists that believe that when you 3D render a scene, the image must be perfect when they go to hit the render button. They don't undrestand that it is okay to divide up your 3D work into layers and tweak each one of those seperately (i.e. color correction or sharpening). I guess they feel that the render program should be a 'perfect simulation of light' and that they shouldn't have to 'fix an image'. They fail to see that the best simulation of light we have (reality) even needs to be touched up from time to time.

    I think there are anti-ms people who think that becaues IIS is insecure as a webserver, that MS themselves should die. There are people of the Linux world that wishes everybody would use Linux and forget Microsoft. They fail to realize that the adoption of Linux isn't slow because of MS, it's slow because it's not beating MS at doing what they like to do.

    There's room in this world for both. If Linux becomes what Windows is in terms of usability, it will be every bit as bloated as MS. Don't believe me? Look at Redhat. Their default install wants to eat up a gig of space. Granted it comes with lots of apps, but it has its share of bloat too.

    In any case, this isn't an anti-Linux/pro-Microsoft rant, this is more of a 'Be happy to have what you've got' rant. If MS disappears, what will fuel the fire to make Linux better?

    It's in everybody's best interest if Microsoft does well, believe it or not.

    --
    "Derp de derp."
  31. Re:Um? by garett_spencley · · Score: 4, Informative

    The problem is a buffer overflow which is a lot more serious than a crash.

    I apologize in advance if I'm being a little too trivial but I'm assuming that you are 100% non-technical just incase this post appeals to someone or some people who are.

    When a program needs to temporarily store an ammount of data it uses what's called a buffer. This is just a segment of memory where it can store it's data.

    A buffer overflow occurs when the buffer get's filled past it's allocated regions. So in other words let's say the programmer has set up a buffer that's 1024 bytes. An overflow is when the user fills that 1024 byte buffer with more than 1024 bytes.

    What happens? Well ideally the extra data wouldn't get stored in memory at all but unfortunately computers don't work that way. Instead whatever is stored in memory AFTER the 1024 bytes gets overwritten.

    So let's say the programmer had the following code in his buggy program.

    buffer[1024] // set up a buffer that's 1024 bytes
    read data, buffer // read data into buffer
    do something

    What the hacker has to do is input 1024 of garbage and then overwrite the memory with some other computer instruction. Like the instructions necessary to execute a shell.

    You see when the buffer is overflown the "do something" instruction will get overwritten with whatever data the hacker puts into the buffer. If the program is running as root then when the "do something" instruction is overwritten with the instructions to execute a shell the hacker will have himself root access!

    But it's even more serious than that becuase let's say the program is a web server running as nobody. Before the hacker exploits the buffer overflow he has no access. But he knows about this overflow so he overflow's it by sending apache a very long request containing the instructions to execute a shell. He has just gained "nobody" access to the system and from there he can figure out how to get root access.

    The solution is for the programmer to make sure that the user is only entering in 1024 bytes of data at the most. Unfortunately many programs weren't written to do this.

    I hope this explains to people why these bugs are more serious than "my system will crash".

    --
    Garett

  32. change it by geekoid · · Score: 3, Insightful

    MS want to bve able to change there EULA after you've bought the product, I'd love to see the zlib people GPL theres, then sue MS when they don't comply.
    This would force MS eithe to pay up, or go to court and fight against the very thing they want.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    1. Re:change it by mpe · · Score: 2

      There is no universal right to retroactively change a contract (in a unilateral matter). Such a right must be granted in an earlier contract.

      Isn't one of the objections to UCITA that it does allow such changing of contracts?

  33. Re:In other words by nickynicky9doors · · Score: 2

    maybe... try 'hippoCrickey' this is the sound the happy hippo hunter from Australia makes when successful in his hippo hunt

    --

    heuristic algorithm seeks stochastic relationship
  34. It's NOT a buffer overflow!!!!!! by Smallest · · Score: 3, Informative

    it's a double-free problem. the two are totally different.

    read all about it : http://www.gzip.org/zlib/advisory-2002-03-11.txt

    -c

    --
    I have discovered a truly remarkable proof which this margin is too small to contain.
    1. Re:It's NOT a buffer overflow!!!!!! by garett_spencley · · Score: 2

      You're right I'm sorry I got confused.

      The current version of gzip has a buffer overflow and I confused that with zlib's double-free.

      Sorry about.

      Anyway zlib's issue can be used to cause denial-of-service attacks etc. These are also worse than your system crashing. Imagine not being able to use either your computer or the network etc. You reboot and still you can't do your banking, check your e-mail and quite possibly not even able to use your computer because the DOS is just re-instated minutes after your computer reboots.

      --
      Garett

  35. Re:oh goody by NanoGator · · Score: 2

    I can imagine porting code being a pain in the ass. I know MS's API is a little weird, and I can certainly understand you having issues getting down that deep into it.

    Where I come from is I use Win2K for doing 3D animation. A lot of people I know doing 3D stuff are running on Win2k. We have to rely on a machine constantly rendering overnight, over weekends etc, and we cannot afford to have it crash. I've built a number of Win2k boxes in my time, and Win2k installation and setup is a breeze. I cannot say that for my experiences with installing Linux.

    I've witnessed a number of Win2k machines of a huge variety of hardware (i.e. not custom made all from one provider) render for many many hours at a time and never crash. I have never lost rendering time to a Windows 2000 problem. None of my artist friends have ever complained about that.

    Seems to me if a program can use so much Windows resources for so long and still behave properly, Microsoft must have done something right.

    --
    "Derp de derp."
  36. Re:oh goody by smack_attack · · Score: 2

    Windows isn't for everyone. It's built from the bottom up (meaning it's targeted at the lowest common denominator user). For you, I'm sure that a trustworthy OS is one that you can pick apart and see the guts of... AND THAT'S FINE! I'm not saying that Linux is better than Windows or vice versa, I'm simply saying that some people don't care how their OS works and what dependency tree they need to check if they want to install an update for their laptop speakers. It's about ease of use versus lookig under the covers. Some of us don't care how the OS works as long as it does.

  37. Scan MS stuff for GPLed code by pyrrho · · Score: 2

    I bet some is in there! I just bet! For god's sake, someone less lazy... um I mean less busy, than me, find GPLed code in Microsoft. I want RMS to make us all call XP GNU/XP.

    --

    -pyrrho

    1. Re:Scan MS stuff for GPLed code by Florian+Weimer · · Score: 2

      You can just look for data tables contained in the source code. These tables are rather invariant under compiler transformation, otherwise find-zlib wouldn't work. (Most vendors didn't bother to strip the copyright string, so this isn't really important in this case.)

  38. Re:Darn! by Sanity · · Score: 2
    and is spreading so much FUD about any sort of free or open software is using it themselves
    If you look at what they have said, they have no-problem with non-viral Open Source software such as the BSD license and the LGPL, they are only worried about licenses that try to spread themselves to cover other people's code (such as the GPL).
  39. "no reports of any exploitations" by Ami+Ganguli · · Score: 2

    From the advisory

    There have been no reports of any exploitations of this problem, but the vulnerability exists nevertheless.

    I know most people here know this, but for some reason this bug has gotten an almost hysterical spin in the media. This is an example of the community responding to a potential risk, before any damage is done.

    All these articles that rave about millions of systems being vulnerable seem to forget the fact that nobody has been affected.

    --
    It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
    1. Re:"no reports of any exploitations" by gclef · · Score: 2
      All these articles that rave about millions of systems being vulnerable seem to forget the fact that nobody has been affected.

      and you think this is bad? Why?

      If all the vulnerable machines get patched before anyone's affected, I'd think the system worked just as it should. I"d rather not wait until there's some nasty reprise of Nimda before starting to patch my systems.

    2. Re:"no reports of any exploitations" by Ami+Ganguli · · Score: 2

      It's not bad that they publicize the vulnerability, but it's bad to make it into a bigger issue than it really is. It means that when a more serious security risk comes along nobody will pay attention.

      What are you going to do in response to the next Code-Red? Declare a state of emergancy and call out the army?

      --
      It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
    3. Re:"no reports of any exploitations" by gclef · · Score: 2

      Someone's already found a way to exploit this over ssh. There's hints (I stopped reading the thread to see if they finished it) of it working for ftp. The code with the problem is used in a huge number of places in multiple OS's.

      How big does it have to get before we acknowledge that it's a serious risk and start the patch run? I've been following the security lists about this, and I don't think the coverage is overdone at all.

    4. Re:"no reports of any exploitations" by Florian+Weimer · · Score: 2

      I know most people here know this, but for some reason this bug has gotten an almost hysterical spin in the media. This is an example of the community responding to a potential risk, before any damage is done.

      If you look at the zlib versions some vendors are shipping and compare it with the zlib ChangeLog, you'll discover that there is far more than just a potential risk ("fix array overlay in deflate.c which sometimes caused bad compressed data" and so on). Maybe these problems are finally adressed now, though (or the vendors have silently fixed these bugs themselves over the years).

    5. Re:"no reports of any exploitations" by KjetilK · · Score: 2

      All these articles that rave about millions of systems being vulnerable seem to forget the fact that nobody has been affected.

      How do you know that? Black-hats may have known about this for ages and exploiting it silently. Do not confuse lack of reports with lack of attacks.

      OK, since free software users have more a sense of community and being publically acknowledged for having found the hole is a big ego-booster, it is less likely to happen around here, but I wouldn't count on it for security.

      --
      Employee of Inrupt, Project Release Manager and Community Manager for Solid
  40. More than DoS Possible by Midnight+Ryder · · Score: 2

    From the ZLib page:

    There is a security vulnerability in zlib 1.1.3 that can be exploited by providing a specially crafted invalid compressed data stream to zlib's decompression routines that results in zlib attempting to free the same memory twice. On many systems, freeing the same memory twice will crash the application. Such "double free" vulnerabilities can be used in denial-of-service attacks, and it is remotely possible that the vulnerability could be exploited in some application to execute arbitrary code with that application's permissions. There have been no reports of any exploitations of this problem, but the vulnerability exists nevertheless.

    It would take some pretty slick work to actually get something to execute arbitary code with this particular bug, but, it's possible. So it does raise the risk level back to what you originally stated, Garett.

    --

    Davis Ray Sickmon, Jr - looking for something to read? Check out my three free novels at MidnightRyder.org

  41. Then explain the "pg" part... by SlashChick · · Score: 4, Interesting

    ...since DOS doesn't have a command called "pg".

    1. Re:Then explain the "pg" part... by BlowCat · · Score: 2

      nslookup wasn't ported by fanboys. It was ported by Microsoft employees or contractors.

  42. Re:oh goody by NanoGator · · Score: 2

    "So what, exactly, has MS done thats good?"

    What, you mean besides using Windows 95 to make the appeal of computers so broad that nearly everybody has one? Or maybe bringing the internet out of the geek neighborhood and out into the main stream? Or how about making an OS that can install on such a broad range of hardware that you can cheaply put together a system running Windows?

    Did MS do this singlehandedly? Nope, I'm not saying that. They were instrumental in it though. Despite how much everybody hates to admit it, Windows 95 had a HUGE part in making computers as broadly supported as they are today. I remember when having a computer meant you were a nerd.

    Did MS use illegal tactics? Yep. They've done shitty stuff. They've made shitty products. I'm not disputing that. But they're not entirely bad either. As a matter of fact, it's MS's shortcomings that are making people fight to make Linux as a replacement to MS.

    You can hate MS all you want, more power to ya, but if you're successful in the IT industry, MS was probably instrumental in that either directly or indirectly. No Microsoft? Computers = toys for geeks.

    --
    "Derp de derp."
  43. Re:Which explains why MS is not attacked more by FuzzieNorn · · Score: 2, Informative

    Recent versions of Windows use a rewritten TCP/IP stack, so even if they did use the BSD stack for Win95/NT4/etc (which they almost definitely did, based on its behaviour), they aren't using it any more.

  44. The difference between Proprietary and Open code by Rick+the+Red · · Score: 2

    This just points out the difference between proprietary code and open code. Those using open code incorporating this flaw have had a fix available for days (if they choose to patch and compile the source). Those using proprietary code incorporating this flaw will have to wait for the vendor to release a fix, if ever.

    If that's not a good arguement against depending on proprietary code (as for running a business), try this: If the flaw was not in open code incorporated into the proprietary code, but rather existed exclusively in the proprietary code alone (yeah, right -- proprietary code with bugs! LOL :-) then we might never know the flaw existed, let alone get a fix, unless some cracker with ethics told the world when they found the flaw rather than keep the exploit to themselves.

    --
    If all this should have a reason, we would be the last to know.
  45. Microsoft's use of zlib is not the issue by ahde · · Score: 4, Insightful

    Its stupid to bring up the GPL or other open source licenses or argue about whether Microsoft is stealing code. I'm glad they use zlib. I'm glad they used portions of the BSD tcp/ip stack. I'm glad they decided to support (to the best of their ability) standards like C and HTML. I'm glad I don't have to depend on Microsoft anymore. But if they hadn't used open source programs I'd have never been exposed to other options except for the likes of Novell and Sun.

    The real issue is that there is now a direct comparison on a shared bug (for which no exploit exists yet, let's not forget -- it's still theoretical) in both the free and proprietary systems.

    You can see the cooperation and disclosure *and* resolution on the open source side. Did Microsoft even admit to the vulnerability which they surely (one hopes) knew existed in their own systems? No. That's not the issue either.

    The great benefit that comes to open source from this is that now you can observe the different security and development models in action from a purely objective point of view.

    Fortunately, for Microsoft and their customers at least, this is not so serious a flaw that it will likely be exploited before they can get fixes out -- if they really want to. Even more fortunately for Microsoft, there are already enough vulnerabilities with easy and existing exploits, that the zlib vulnerabilities will probably be a non-issue. Hackers will tend to follow the path of least resistance.

    1. Re:Microsoft's use of zlib is not the issue by cperciva · · Score: 2

      Did Microsoft even admit to the vulnerability which they surely (one hopes) knew existed in their own systems? No.

      Did it occur to you *why* they haven't said anything?

      Because this bug doesn't pose a security risk in Windows.

      You're comparing apples and oranges... in Linux, this was a critical issue because linux's free() will quite happily trash your heap if you give it a chance. Under BSD and Windows, this is not a critical issue, because both BSD and Windows have marginally slower (but much safer) free() calls which will not trash your heap on a double free.

      This bug (might) exist in the mentioned windows software, but it is a completely harmless bug, thus there is no reason to issue patches immediately.

    2. Re:Microsoft's use of zlib is not the issue by WNight · · Score: 3

      The issue, imho, isn't that MS uses open-source. That's what it's for after all. The issue is that MS uses open-source for its own advantage, while seeking to hurt the open-source movement whenever they do something that's not to MS's liking.

      Basically, while we shouldn't believe what they say, we should force them to act as if they do.

      Their PR flack recently said that OS software costs society by not hiring programmers or contributing to tax money. So they should immediately rip out all the open source software they use and hire programmers to recreate it.

      If they don't, can they really expect to have any credibility left?

    3. Re:Microsoft's use of zlib is not the issue by sheldon · · Score: 2

      But what if there is no problem with the Microsoft software?

      Should Microsoft issue a press-release saying "despite what some Linux kiddies think, our software has no issues."?

      Would you believe them anyway?

      Now back to our regularly scheduled Microsoft bashing...

    4. Re:Microsoft's use of zlib is not the issue by reflective+recursion · · Score: 2, Insightful
      Their PR flack recently said that OS software costs society by not hiring programmers or contributing to tax money. So they should immediately rip out all the open source software they use and hire programmers to recreate it.
      Erm. Your logic is broken to me. Why don't we examine this:

      There is a free compression library, zlib, which is an asset to the public (and proprietary software business, because of it being BSD licensed and not GPL).

      The fact that people spent their own time on zlib is a liability. Their time is gone. They have nothing other than free source code which gains them nothing more than the ability to use that source code. They were not rewarded financially, nor was anyone else able to be rewarded financially for that particular program (not that is matters too much, since there are many other compression tools).

      Society does not move forward without using other's tools, but society does not move at all without monetary incentive. There is a reason for money, and it is not for "evil" purposes despite how bad /. readers believe it to be. Throwing out software because of how it was created is plain ignorance and wasteful. There are more useful things to be done than paying someone to rewrite a compression library.

      Do you really want "starving programmer" to become an actual phrase, much like "starving artist" or "starving musician?" This is what will happen, if FSF has its way.
      --
      Dijkstra Considered Dead
    5. Re:Microsoft's use of zlib is not the issue by WNight · · Score: 2

      Microsoft may dislike the GPL more, but they are down on all open source, publicly. Their comments about how it costs the government money, doesn't put it in the hands of the programmers, etc... That wasn't about GPLed code, just all open source code.

      So, let's see them put their money where their mouthpieces are. If they say open source is bad, they should never, never, use it. If they do, we have no choice but to assume that they lied.

    6. Re:Microsoft's use of zlib is not the issue by WNight · · Score: 2

      I want Microsoft to be honest. To give up the FUD, and argue the issue openly.

      If they say open source is so bad (regardless of if it is) then they shouldn't use it. If they use it, it's because it helps them. If it helps them, it's not so bad now, is it?

      --

      A world with open source will still require people to code new things, and to customize current things. There'll always be new things.

      If you can only make your living from re-inventing the wheel, then perhaps you do deserve to starve. But frankly, if you depend on artificial scarcity you're taking advantage of others to make a buck. Not really anyone I care about anyways. So, go ahead and starve, or get some skills of use in a different economy.

      Times move on. People made obsolete by the change will always bitch, but that doesn't mean we should stop. Or do you think people are obligated to buy your buggy whips?

    7. Re:Microsoft's use of zlib is not the issue by ahde · · Score: 2

      that is an issue, but its a different issue.

    8. Re:Microsoft's use of zlib is not the issue by WNight · · Score: 2

      RMS is irrelevant to this discussion. What is relevant is that Microsoft is afraid of the possibility for people to make their own software. With large projects taking many man-years, open source is the only way large projects could happen.

      I don't forget that it takes incentive to create software. I have worked for many companies with the incentive to create software. I've had contracts rangding from $2k to $30k for developing a custom DB interface, or customizing existing software. They obviously feel that new software would save them money in the long run and are willing to spend on this. These companies weren't even billion-dollar multinationals.

      I think this disproves the idea that programmers would starve in an open source world. No project is going to perfectly suit all users, and not all users needs are going to "scratch the developers itch" so much software that industry wants won't just happen for free. They can either adjust to fit the software, or have the software adjusted to fit them.

      As to the issue of scarcity... Software *is* an artificial scarcity. Once you have one, you can make a million copies for near zero cost. There's no financial incentive for a company to do so, but the facts remain that all the costs are up-front.

      Anyways, the long and short of it is that Microsoft blatantly and deliberately attacks open source. Then they go and use open source, while saying terrible things about it. This is totally dishonest. If open source software is bad, don't use it. If you use it, admit that it's not bad.

  46. Re:Seriously? Microsoft use open source code? by xtremex · · Score: 2

    Actually, it comes from VMS. VMS is so alien to the UNIX way of thinking. So, Windows is basically a hodge-podge of VMS plus some System V additions, and a pretty shell.

    --
    If you're not a Liberal in your 20's, then you have no heart.If you're still a Liberal in your 30's you have no brain.
  47. Re:If we can't see MS's source by panaceaa · · Score: 2, Insightful

    "Microsoft, despite dismissing open-source code publicly, has used software from others to create their own products."

    "Craig Mundie, senior vice president of Microsoft, said last May. '(There) is a real problem in the licensing model that many open-source software products employ: the General Public License.'"

    This really makes you wonder if Microsoft's stance against the GPL is really about getting more code from the open source community to use in their own projects. If there was a public backlash against the GPL, the community may feel pressure to change to other license models, and Microsoft could get more of code for their projects written for free.

  48. Re:If we can't see MS's source by Wolfier · · Score: 2

    Does it matter?

    If I want to use GPL code in my program without releasing, I can just

    1. write a library wrapping up your GPL proggie
    2. link to the library dynamically from my proggie

    All I have to release is the source code of the wrapper library. Well, at least it is true in GPL V2.

  49. HABBA FUNGULE by lkaos · · Score: 4, Insightful

    It is NOT a buffer overflow. Every is happy that your karma whoring because you know what a 'buffer overflow' is but your also helping spread this FUD.

    The problem in zlib is a double free. It is only, and I repeat, only theoritically possible to exploit this in the same way that it is theoritically possible to exploit any undefined behavior.

    Please don't counter with a traceroute exploit being an example of a double free because it wasn't. That was an example of free a garbage random data. There is quite a difference.

    At any rate, please think before you post. I cannot believe everyone is making such a fuss over this. It's funny because XP's whole TCP/IP had a remote root hole in it and less noise was made here then is being made now over something that is only theoritically possible to exploit and also not yet proven to be reproducable.

    Right now, this 'security issue' is entirely theoritical.

    --
    int func(int a);
    func((b += 3, b));
  50. Put yourself in MS's position by uebernewby · · Score: 2

    They're not dealing with a fairly small number of reasonably savvy users who go to read slashdot, discover that zlib has a bug and decide to go fix their systems. MS deals with millions upon millions of 'ordinary users' who run dozens of programs that have zlib linked statically (we've just been told) and who have absolutely no idea what zlib is, what their systems use it for or how to patch it (well, they can't, because it's statically linked). So it makes sense for MS to determine first which apps are affected, in what way (is DirectX ever going to run into this problem? if yes, what are the consequences? if no, or if the consequences aren't serious enough, getting millions upon millions of clueless users to download a DirectX patch ASAP isn't worth the trouble). I agree with you that they should have information handy on which of their apps link to zlib, but who's to say they don't and they're just taking this time to conduct a risk inventory (they're a big ass bureaucratic monstrosity after all)?

    --

    News and bla for computer musicians: http://lomechanik.net/
    1. Re:Put yourself in MS's position by mpe · · Score: 2

      MS deals with millions upon millions of 'ordinary users' who run dozens of programs that have zlib linked statically (we've just been told) and who have absolutely no idea what zlib is, what their systems use it for or how to patch it (well, they can't, because it's statically linked).

      Since all of Microsoft's operating systems support dynamic linking youc an lay a fair bit of blame on Microsoft for choosing to statically link their apps. One of the main advantages of dynamic linking is easy upgrading, either for bug fixes or functionality.
      Also it was Microsoft's policy to design around a paradigm of end-user administration.
      How can they reasonably blame anyone else?

    2. Re:Put yourself in MS's position by uebernewby · · Score: 2

      Of course they are to blame and of course static linking isn't always a smart thing to do, I was just saying that because they design their software to be easy to use (not such a bad decision IMHO - I'd hate to have my dad run linux), getting patches out the door is going to be a little more difficult for them to do than it is for Linux distros.

      --

      News and bla for computer musicians: http://lomechanik.net/
  51. Re:Seriously? Microsoft use open source code? by jedidiah · · Score: 2

    I'm curious too. Why should we believe a fish tale like that when Win2K still has an /etc/hosts file embedded into it?

    --
    A Pirate and a Puritan look the same on a balance sheet.
  52. Re:oh goody by TummyX · · Score: 2

    So your W2K box crashes 2 times a week and you haven't fixed it? Have you even tried?

    My W2K server has been up 196 days and counting. I've NEVER encountered a BSOD on my XP notebook.

    Perhaps you should try upgrading your drivers to MS cerftified ones.

  53. Re:If we can't see MS's source by jedidiah · · Score: 2

    The proper term is REACTIONARY, not radical.

    Copyright was originally a short-term thing.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  54. Re:Seriously? Microsoft use open source code? by edhall · · Score: 2

    That's the 4.4BSD license, a license that predates FreeBSD (and the other open-source BSDs). It contains the dreaded "advertising clause," which is (IMHO) rightfully viewed as non-free. That's why FreeBSD uses this license which drops the advertising clause and is almost universally viewed as a free license; the other open-source BSDs did the same thing.

    -Ed
  55. Re:Innovation in the computer industry. by jedidiah · · Score: 2

    Open Source was never about plagarism.

    That is ALL that Microsoft is about.

    They only look similar if you aren't paying attention.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  56. No such domain (Offtopic) by The+Cat · · Score: 2

    Can someone please explain why zdnet and news, etc. are all on a non-existent domain?

    ; > DiG 9.2.0rc3 > news.com.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER

    I don't get it. com.com seems to be some kind of travel agency. Any ideas?

    (Sorry for the offtopic question)

    1. Re:No such domain (Offtopic) by The+Cat · · Score: 2

      Figures.. here is the real DNS information:

      ; DiG 9.2.0rc3 news.com.com
      ;; global options: printcmd
      ;; Got answer:
      ;; HEADER opcode: QUERY, status: NXDOMAIN, id: 46230
      ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

      ;; QUESTION SECTION:
      ;news.com.com. IN A

  57. Whacking MS Memes by _Sprocket_ · · Score: 2
    Good troll. Just in case someone actually takes this seriously...


    a more likely scenerio is that they are testing the fix. Microsoft is usually rather quick about releasing things, but they believe in testing it first. Great concept that.


    Microsoft's fast responces to security issues is a recent event. They do not have a history of fast responce. But they do have a history of putting out fixes that cause problems. It is common practice to delay rolling out hotfixes and service packs to allow for discovery of these bugs and subsequent fixes.


    Oh, and it will be available on windows update so that it will actually have wide spread adoption. Lets see how wide spread the linux fix is.


    Yep. That's why CodeRed and Nimda weren't able to do much damage. Oh. Wait.


    Since 80% of redhat boxes are rooted in the first 24 hours there seems to be a rather large precedence for boxes not being patched when they should be.


    Nice statistic. Got a valid reference for it? Or is that just a bogus number to make your rant sound nice?


    Microsoft may be a lot of things, but they aren't stupid. If they were they would never have gained absolute control of the desktop.


    People often confuse Microsoft's marketing savvy with their technical ability. They are a technical company who excels at marketing. You're crowing about their marketing. This is a technical issue (information security is not a marketing issue - despite how many companies, MS included, tend to handle it).
    1. Re:Whacking MS Memes by Datafage · · Score: 2

      Yeah, and the original poster said that MS always achieved widespread patching.

      --

      Nicotine free Amish .sig.

  58. Re:Darn! by Alsee · · Score: 2

    they give away a bunch of source to a bunch of stuff (though nothing really good)

    &LT Bash &GT
    As opposed to the other stuff which *is* really good?
    &LT \Bash &GT

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  59. Re:oh goody get a clue by NanoGator · · Score: 2

    Name a better alternative. Windows 2000 is easy to deploy on a variety of harware, easy to use, and has well supported software. The gotcha is that it costs lotsa money to license. Can you honestly tell me there is a better alternative? The only alternative I have as a 3D Artist is Macintosh. And though I'd like to have one, Windows works on the hardware investment I've already made.

    Linux is hard to install, requires a more knowledgable support people, and has less driver support. This is why Windows is big in the corporate world. Obviously Microsoft isn't so bad if it's doing what people are paying for it to do.

    As for being a troll, a troll rarely makes a good point. Getting back to my original point, this attitude of "It sure is cool to hate Microsoft" is blinding people to alternatives that may very well work for them. Call me a troll for disagreeing with you if you like, but I'm not-anti Linux.

    --
    "Derp de derp."
  60. Re:oh goody by NanoGator · · Score: 2

    I just wanted to respond and let you know I appreciate the tone of your answer. I've had a couple of people recommend SuSE, and it's on my list to try.

    Again, thank you for being civil.

    --
    "Derp de derp."
  61. Re:oh goody by NanoGator · · Score: 2

    I think you're right there. I can't help but wonder if the new file system they announced is intended to keep people from dual booting Linux boxes. How much ya wanna bet that Lilo doesn't work with it without some kind of patch?

    The good news is that every time MS closes a freedom with people (like XP requiring registration, or a security flaw in their software), Linux has an opportunity to be more attractive.

    --
    "Derp de derp."
  62. Re:Microsoft by jedidiah · · Score: 2

    No amount of programming talent can make up for fundementally flawed management.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  63. Re:oh goody by jedidiah · · Score: 2

    I've been NT since '94. It peaked with 3.5.1 and has been downhill from there. I've spent plenty of time with NT5. It is my workday OS. I even had dellusions about improving the computing condition of my family members by subjecting them to it.

    It either failed to live up to immediate requirements or failed to live up to the performance of it's DOS based predecessors in daily use.

    The problem with Microsoft is that it's main focus is not technology but market domination. Technology is a far distant second (or worse) and merely a means to and end for them.

    What makes Bill a better megalomaniac doesn't necesarily make for a better product.

    If GNU, software development sloth encarnate, could sneak up behind Microsoft then there are some serious problems out there in Redmond.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  64. double free() considered harmful by nyet · · Score: 2

    NOT crashing on a double free might be just as bad (or worse) than crashing on a double free, since it generally means somebody is accessing a free'd pointer for other reasons (prior to the second free). In *this* particular case, allowing a double free might be better than not allowing it, but in general, ANY program that does a double free probably has far more destructive bugs hiding in it.

  65. Re:oh goody by jedidiah · · Score: 2

    Win95? Apple achieved better 11 years earlier.

    The whole "random collection of spare parts" thing has still yet to be completely managed by Microsoft. They still screw it up often enough for Linux to be in a position to recover the situation.

    Microsoft deserves NO credit for PC hardware compatibility. The hardware usability standards were pioneered by Intel and Apple and only grudgingly adopted by Microsoft.

    It's the hardware vendors MANUFACTURERS that make installing new hardware on WinDOS easy.

    No, Microsoft wasn't the one that make computers more than "toys for geeks". That credit goes to the developers of the Web and early web browsers. THAT is the killer app that pulls in the sixpack family.

    Microsoft was late on that technology too, and had to muscle it's way into marketshare when they finally got off of their posteriors.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  66. Re:If we can't see MS's source by Stonehand · · Score: 2

    Interesting. ISTR that the LGPL was originally for that purpose -- to allow you to link with GPL'd code without needing to GPL/LGPL your own code.

    --
    Only the dead have seen the end of war.
  67. Re:Slow, buggy M$... by Stonehand · · Score: 2

    Incomplete solution. Some software packages include their *own*, possibly tweaked, versions of zlib, so even creating a new static library and recompiling won't work with those -- you'd need to edit the source of every package that has its own private version, as well.

    So unless he's done THAT, or every maintainer of every package he uses is on the ball, he can't really be sure.

    --
    Only the dead have seen the end of war.
  68. "The issue at hand is choice" by gotan · · Score: 2

    This is again Mundie piping up with that stupid argument, that the GPL is bad because it limits the licensees choices. Now where's my choice when i want to develop using Microsofts sourcecode (if i can get my hands on it, even some governments can't)? Well, i have to accept Microsofts conditions. With the GPL and similar licenses i have to agree to the conditions of the respective authors (which choose the GPL as a license). So where's the difference? I'm sure it's easier to satisfy the GPL than Microsoft anyway. If only someone would ask what Microsofts conditions are for using their sourcecode when Mundie goes on a rampage again, that should shut him up for good.

    Meanwhile the TCP/IP stack and now the zlib (and probably some other open source software Microsoft choose to make money off) shows what all that rhetorics of Mundie really is about: They want to take without giving, and they have seen that there's some nice open source software they'd like to get their hands on if only it weren't for that pesky GPL. Apparently that there's some open source software, that's too good to ignore, even for innovative Microsoft. It's really unfair that the GPL is asking Microsoft to share with others if they want to benefit from that software.
    --

    --
    "By the way if anyone here is in advertising or marketing... kill yourself." -- Bill Hicks
  69. Re:Seriously? Microsoft use open source code? by warlock · · Score: 2

    This is a "bug" in the webpage... someone forgot to update it apparently, since the 4.4BSD license has been updated years ago. Check the addendum here:

    ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.L ic ense.Change

    The removal of the advertising clause retroactively applies to any BSD licensed sources that Berkeley has the copyright of, including 4.4BSDLite which FreeBSD is based on, and since the FreeBSD additions are covered with the FreeBSD license which is the BSD license without the advertising clause and references to the "Berkeley Regents" replaced with "FreeBSD Project", this effectively means that there is absolutely no advertising clause issue.

    There are of course some non-free (in the BSD sense, I am not trolling!) sources, most of them GPL, however if one is looking to release modified FreeBSD binaries without providing the source, he can simply rm -rf /usr/src/gnu or make sure he doesn't ship any of them, which for a lot of applications is not necessary anyway.

  70. That isn't Microsoft. by evilpaul13 · · Score: 2

    Installshield that is. MS has the "Windows Installer." Installshield is a separate entity.

  71. Re:Geez by SquierStrat · · Score: 3, Insightful

    uh...I was referring to the fact that microsoft is hypocritical in that they criticize open-source software constantly yet, they use it.

    I'm fully aware that it's a problem that was first found on the unices!

    Which is actually something to be proud of. Microsoft and all of it's money didn't (while borrowing the code) find the security problem.

    How does BSD prevent this problem where Linux can not? I'm genuinely curious as I am not a BSD user.

    --
    Derek Greene
  72. Re:If we can't see MS's source by MarkLR · · Score: 2, Insightful

    Won't giving the source code to a university be considered releasing it? It would be fairly easy for someone with access to the code at one of these universities to report if the code contains the zlib copyright.

  73. Re:oh goody by An+Onerous+Coward · · Score: 2
    "If Linux becomes what Windows is in terms of usability, it will be every bit as bloated as MS. Don't believe me? Look at Redhat. Their default install wants to eat up a gig of space. Granted it comes with lots of apps, but it has its share of bloat too."
    You can't compare the bloatiness of XP and Red Hat 7.2 by simply comparing how many megabytes each chews up. You have to find some sort of bloat/functionality metric. In such a comparison, I think that any Linux distro would win handily.

    When you install either OS, you're also installing a lot of auxillary software. Red Hat gives you a C/C++ compiler for free, while you would have to buy VC++6 from Microsoft. Red Hat includes an IRC client, which is a separate download under Windows. Red Hat gives you more text editors than you can possibly be interested in (joe, several variations of VI, Emacs and XEmacs, gEdit, NEdit, Abiword, Kate). You even have the option of installing StarOffice 5.2, free. With MS, you get Notepad, Wordpad, and EDIT (command-line). And last I heard, Notepad *still* had that 64K limit, which is simply braindead. Red Hat gives you TuxRacer, while you would have to shell out $50 for Microsoft's HALO. :)

    Finally, the docs that ship with Red Hat are probably way more thorough (though less organized) than anything Microsoft gives you.

    The point is, if you can see where the bloat is coming from, then it really isn't bloat. Most Linux distros have big installs because they provide a lot of different utilities and a lot of documentation. I'm hard pressed to figure out where the bloat in Windows comes from.

    "It's in everybody's best interest if Microsoft does well, believe it or not."
    If, by "does well," you mean "continues to exist, continues to improve its software, and continues to provide incentives for competitors to improve theirs" then I fully agree. If you mean, "continues to pursue Complete World Domination(TM), continues to lock customers into proprietary formats and solutions, and continues to force customers along expensive upgrade paths," then you would be wrong. Microsoft has its place in the world, I'll agree. But that place is not the center of the world's information economy.
    --

    You want the truthiness? You can't handle the truthiness!

  74. Re:Darn! by leonbrooks · · Score: 2
    I seriously doubth they would want to use GPL'd source anyway..most of it is attempted replications of proprietary stuff that MS created.

    Where's `OS Bob' then? (-:

    Seriously, most of it is attempting to make stuff work that Microsoft implemented in a broken way. And in general it succeeds rampantly. (-:

    --
    Got time? Spend some of it coding or testing
  75. OS from scratch by leonbrooks · · Score: 2
    I'd love to see Microsoft write their own OS from scratch the way GNU did. ;)

    That's true, they never have written an OS from scratch. Windows 9X is DOS-plus-GUI-shell and DOS was derived from QDOS; Windows NT is DEC's MICA, broken and in fancy clothes, and 2k, XP, Longhorn etc are all derived from that. What about CE? Maybe that's why you need an expensive mega-micro-beast to run it on.

    If MS truly want OS security, why not just wrap their user interface around OpenBSD? The licence allows it, provided credit is given (and that can be done in very fine print).

    --
    Got time? Spend some of it coding or testing
  76. XFree86 patch for dynamic zlib by leonbrooks · · Score: 2
    Some distributors have patched XFree86 to link dynamically against the system zlib.

    Mandrake, for example. That and any other package for which this was straightforward to do.
    --
    Got time? Spend some of it coding or testing
  77. MELON. MELON. MELON. +++ REBUILD FROM SOURCE. by leonbrooks · · Score: 2
    Any proper system should be able to rebuild completly from source, catching ALL statically linked binaries.

    For your compiling pleasure, Mandrake 8.2 includes a tool to do just that. But you will also have to grep the entire source tree to catch self-included static copies of zlib. Just be glad that you can do this. (-:

    ``Hello, Microsoft Technical Support here. Can I have your money, er, support number please? ... Thanks, OK, now what seems to be the problem? ... Rebuild from source? Sir, don't you mean reboot...?''

    Another fine reason to give money to Mandrake instead of Microsoft.

    --
    Got time? Spend some of it coding or testing
  78. Microsoft NOT vulnerable to zlib bug! by jpmorgan · · Score: 2, Informative

    The security vulnerability is due to zlib trying to free the same section of memory twice. The glibc memory allocation routines aren't very smart, and will cause heap corruption if you try to do this. This heap corruption can be exploited.

    The Microsoft runtime libraries have smarter memory allocation and deallocation - attempting to free the same area of memory twice does not result in heap corruption. Consequently the zlib bug isn't a security vulnerability in Windows.

  79. Extent and Response by Erris · · Score: 2
    Hmmm the article mentions about every piece of M$ crap ever made, On Thursday, researchers reported that at least nine of Microsoft's major applications--including Microsoft Office, Internet Explorer, DirectX, Messenger and Front Page--appear to incorporate borrowed code from the compression library and could be vulnerable to a similar attack.

    Gosh, what else do they make besides a second rate search engine? That there is no security on M$ is no secret.

    Their response according to the article is:

    Microsoft representatives said that the software giant's security response team is investigating the zlib flaw and that some Microsoft applications use code from that compression library.

    Meanwhile, in a dark Seatle back room someone is running "apt-get update" for a fix! Well, that's what I did. No problems now.

    --
    DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
  80. ha ha, Sheldon you silly boy. by twitter · · Score: 2
    But what if there is no problem with the Microsoft software?

    Well, that could be. I don't have any problems with my M$ software. It sits on floppies and CD's where it can be installed to use some obscure piece of hardware on a second rate computer never attached to the internet. Most of the time, however, it never causes problems.

    Bad Microsoft, bad! Quit saying that free software is unusable while using it. Oh yes, good luck hunting thought that vast tree of poorly documented closed source junk you have been purchsing from other companies for the last ten years. Is this what you will build the Digital Rights Management Operating System, TM and patented use of other people's code? Slap! Crack! What a joke of a company. What shall become of all the M$ stock when the world figures out that M$ is the equivalent of an Ice Vendor in Antartica?

    They wanted to be the asshole in the middle, stripping ideas and programs from others, to sell as The Sole Operating System. All the people they ruined could be hard at work fixing their codes. Now, those codes will continue to be distributed unmodified. The task is too great for a single company. Like most such ventures, in the end Microsoft can only manage to be assholes.

    --

    Friends don't help friends install M$ junk.

  81. Re:If we can't see MS's source by thogard · · Score: 2, Interesting

    I suspect MS used quite a bit of GCC since version 5 of their C compiler had many of the some of the same optimization bugs as GCC. Anyone got access to the source for the old versions of MS C?

  82. MS should use some GPL code and see what happens by Sabalon · · Score: 2

    Seriously - they should come up with some small little product that it doesn't matter if they have to release the source code to. They should put some GPL'd code in there - perhaps not even try to hide it too much.

    And then they should see what happens. I guess they figure not many in the GNU crowds care much for them anyway, so they won't lose "loyal customers".

    However, it'd either do two things:

    a) show MS that it doesn't matter cause no one dared to file a suit

    b) give the GPL it's day in court and see what happens.

    The only downside is that whoever decides to take this to court better be loaded. It could be a long uphill battle.

    It would be interesting to see the outcome though...however with MS's legal team, perhaps it may not be a good outcome.

  83. Update Services by _Sprocket_ · · Score: 2
    Datafage already did a fine job at pointing out the issue - the fact that having an update on Windows Update does not guarentee "widespread adoption" as the origional poster claims. Codered and Nimda are two examples where such a system should have limited damage. It didn't.


    There is another interesting point to make here. The origional poster implys updates will be slow to trickle in to the Linux install base, while Windows Update offers a shortcut to the process. Microsoft's Windows Update service is not unique. Its not even first of its kind. Linux distributers such as Redhat and Mandrake have long offered a simular service. Debian has had such a system in place even earlier.


    In short, Windows Update provides neither a panacea nor unique solution to the issue.

    1. Re:Update Services by mpe · · Score: 2

      The origional poster implys updates will be slow to trickle in to the Linux install base, while Windows Update offers a shortcut to the process.

      A lot of the time Windows Update appears to be more about marketing the latest version of Internet Explorer and co than distributing important fixes.

  84. Try it and get sued by LatJoor · · Score: 2

    I'm afraid you misunderstand the license. What you suggest still involves linking your program to the GPLed code at runtime, which is expressly forbidden by the GPL.

    Besides, you have to release the code of the wrapper library under the GPL, which in turn requires you to release the code of your other program under the GPL as well. The chain will continue no matter how many "wrappers" you write.

    1. Re:Try it and get sued by Wolfier · · Score: 2

      I understand I have to release the wrapper. The point of writing it is to convert whatever the program is, into a library.

      Even if what you said is true, if I'm determined enough, I still won't get sued if I do it right. I'll bet you anything on it.

      How about - write a CORBA server with the GPL code. Release the server source code. Write your program as a CORBA client. Done. There's no linking between your program and the GPL code. Static OR dynamic. There simply is some network traffics involved.

    2. Re:Try it and get sued by LatJoor · · Score: 2

      Yes, if you separate the GPL code and your program, then it's not a violation of the license, any more than it's a violation of the license to run proprietary software on the Linux kernel, or write proprietary code that accesses a MySQL database. However, when you do this you're no longer circumventing what the program's author intended to accomplish. Plus, you've made a new contribution to the software by writing a CORBA server for everyone to use. This isn't a loophole, it's how the GPL is intended to work.

    3. Re:Try it and get sued by Wolfier · · Score: 2

      Hehe. I guess you're right here. I don't have any intention to violate the GPL, but I just want to point out that, if you want to use GPL code that would **give you the same results as if you're directly linking to it like you use a library**, you can do so without releasing the client you write to use that library - it'd just a bit tedious, and involves doing something along the line of RPC.

      As far as I know, it wasn't what RMS had in mind when he invented the GPL.

      Yeah, I've made a few new contributions by writing a CORBA server. Who cares - most companies don't fear the GPL because "they have to make contribution". They fear it because "they may have to release their own code". As far as I'm concerned, the CORBA server does not have to have anything specific to your application, and, how hard it is to convert a library to play with CORBA? Not at all in most cases - so the "contribution" would just be saving some time for the community on some tedious task. But not a new idea.

  85. it's not by Otis_INF · · Score: 2

    The double free bug in zlib doesn't affect MS systems since the msvcrt lib isn't affected by a free of a NULL pointer. This article on CNet shows the need for pageviews.

    --
    Never underestimate the relief of true separation of Religion and State.
  86. Are they complying with the licence? by alriddoch · · Score: 2, Informative

    Reading up on the zlib licence, which is short and easy to understand, I find this clause:

    1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
    The way I read this, if software uses zlib code, then the authors of their software must not claim to have written the code. Microsoft are not obliged to acknowledge the zlib authors anywhere, but if they make a copyright statement saying that the code was written by Microsoft, then surely they are claiming that they wrote the zlib code in their product, and are therefor breaking this clause?

    Does anyone know if Microsofts' copyright statements comply?

    I am probably too late for this point to be discussed.

  87. Re:Darn! by mpe · · Score: 2

    So what is the beef with the GPL?

    They only like copyright to work in their favour..

  88. Re:... pants on fire! by mpe · · Score: 2

    If something like that were to happen, I'd imagine that the GPL would probably be killed in court by high powered lawyers from all the major software companies (not just MS.)

    The only way you could "kill" the GPL would be to void copyright protection on software. Effectivly every piece of proprietary software would immediatly enter the public domain.

  89. Yes they are by j7953 · · Score: 2

    "This software" in the clause you've cited probably refers to the zlib library, not to the complete product it is used in (otherwise the "use this software in a product" wouldn't make any sense). Since Microsoft is not distributing a standalone zlib library, there isn't anything to misrepresent. I'm pretty sure they left the original copyright notice in the library's code.

    BTW, I've been told that on the Windows XP installation CD, you'll find a file which contains copyright ackknowledgements for much of the software that they're using in Windows (e.g. the BSD license requires reproduction of the copyright notice "in the documentation and/or other materials provided with the distribution" when distributing binaries, so you'll find the BSD license in that file). I don't have Windows XP, so I can't tell you the file name. On the Windows 2000 CD or in the installed system I haven't found the file, but I guess they put it somewhere (anything else would be pretty dumb, given how simple it is to comply with the licenses we're talking about here).

    --
    Sig (appended to the end of comments I post, 54 chars)
  90. Correcting myself by garett_spencley · · Score: 2

    Moments before I made the post I was reading about gzip's current buffer overflow in which you can pass a path on the command line that's more than 1020 characters and you will cause the overflow.

    I confused this with zlib's problem and hence my claiming that zlib had an overflow.

    I was wrong and I realized this a few minutes after posting. D'OH!

    Anyway I still hope that my post helped someone to understand what buffer overflow's are about, even if it doesn't apply to zlib at present :O)

    --
    Garett

  91. Re:The Tragedy of the Commons. by WNight · · Score: 2

    Yawn. It's an old story. "If you bash Microsoft, you're jealous."

    I bash Microsoft because that would desperately love to make open source software illegal.

    Despite all their claims, open source software is a viable commercial alternative. I'm proof of that. I've used open source software for my clients, and written new software for organizations that are largely using open source.

    Microsoft wants to force people to buy software from a large company. They don't want people to realize that software can be produced by a single coder in a reasonable ammount of time.

    They lie to accomplish this goal. Microsoft's history has been one long lie. They lied in court, they faked evidence, they lie about open source, etc, etc. Then they have the gall to use open source software after saying it'll destroy the economy.

    I want to know why they can get away with this shit. It seems to be just because they're rich. If anyone else lied to a judge like that they'd be spending a month or two in jail for contempt, at a minimum.

    No, I don't dislike Bill because he's rich. I dislike Bill because he's doing his upmost to make sure that I'll never be rich, by destroying the business oportunities of anyone who isn't Microsoft.

    How much does MS pay you to astro-turf for them?

  92. rpm-rebuilder-0.7-1mdk.noarch.rpm by leonbrooks · · Score: 2
    --
    Got time? Spend some of it coding or testing
  93. I call your bluff by leonbrooks · · Score: 2
    This is more of the exception than the rule.

    There are more than 10x as many OSS projects with more than 100k installations in the field than there are M$ products in the same boat. There are more than 100 distinct OSS products (not counting libraries and such, but including games) installed on this Mandrake Linux box which see use at least once a week, and it's doing nothing special. How many copies of Mandrake Linux are there in the field? Now add in packages unique to RedHat, SuSE, Debian...
    --
    Got time? Spend some of it coding or testing
  94. Re:The Tragedy of the Commons. by WNight · · Score: 2

    You know, your cut and paste arguments would be better if you tailored them to the people you were arguing with. I didn't talk about capitalism or communism. Where do you come up with it?

    I make money, in a capitalist system, by programming.

    I just don't want Microsoft getting that declared to be illegal just because I work with open source software.

    Let's use this capitalist thing that you keep going on about. How is Bill buying laws against open source (which he's trying to do, having Mundy say it destroys economies) a capitalist act? Shouldn't MS be competing? Releasing a better product?

    There are many do-it-yourself markets in the world. Nobody bitches on Slashdot that handy homeowners are putting plumbers out of business by unclogging their own toilets and fixing their own broken pipes.

    That's because people have had time to realize that this isn't bad in any way. Money saved on plumbers gets spent elsewhere, to raise the standard of living. Plumbers can find another line of work, or get good enough to compete in a smaller field.

    You're the one proposing a corporate welfare state. Let's pass laws making it illegal for people to do their own programming, just to keep Microsoft making their money.

    And then with the 401k plans. Wah! If you invest in a volatile market you expect risk. I don't see anybody crying over my retirement fund, so why should I go out of business over theirs?

    Truly, the open source programmers and I are arguing for the only true capitalist point of view here. If a big company can't compete with us, let them go the way of the dinosaur.

    Don't forget, I'm perfectly willing to compete. If Microsoft can fill the niche I do, without simply making it illegal for me to do it, then I will move on to another job. Either I'll find a new niche, or a new career. Unlike the world's richest man, I don't expect everyone to take care of me.

    Why do we have this idea that capitalism excuses all actions? A capitalism should say "Welcome to our market", and then try to make sure that their products are better and cheaper. Microsoft has continually used illegal product linking and direct sabotage to destroy the markets of their competitors. ("DOS ain't done till Lotus don't run.")

  95. Re:The Tragedy of the Commons. by WNight · · Score: 2

    You're stuck in assuming that because Microsoft is a large part of the software world now, that it must always be so.

    Not only were standards developed before MS was around, but most of the important standards we use today still predate MS. MS in fact has a habit for trying to stifle the development of standards.

    As for the development of large software - consider the BSD system, and the Linux system. Both contain large parts (kernels, filesystems) which took a lot of development and didn't provide functionality until done. Then there's Gnome, KDE, PERL, PYTHON, RUBY, and so on. The free software world has created huge projects, on its own, with no direct profit motive. KDE provides a ton more functionality than early MS desktops. (IMHO it's between 95 and 2k, with less OLE, but much better usability.) Either way, it's an example of a project that took probably millions of dollars of time, were it billed, to create and yet was written by hobbyists, for free. And they all realized that to do their favorite part (the itch) they had to help get the rest working, so they cooperated to write the less-fun bits.

    GNOME may be hard to install by hand, but there are RPMs (free software created with a profit motive) and DEBs and likely other smaller package systems.

    Free software is raising the bar on paid software. Much the way that home repairs with help from Home Depot are raising the bar on professional carpenters and plumbers. Why don't you feel that this is a trajedy? Are there going to be no standards for nail or lumber size, just because most of the work is done by individuals?

    I think that individuals benefit the most from standards... They're the ones who would take a large hit from having to code up a ton of file-translation code. Or, in a home-repair metaphor, have all lumber custom-cut to their specified sizes. Experience bears this out. Microsoft is the creator of weird new formats. Free software tends to use either standard formats, documents it, or at least provides the source code for reading it.

    I highly doubt my salary will get cut in half. I'm already in what you for some reason call the service industry (most of my work is writing new custom programs, not providing troubleshooting or help). Really, it's the same thing I did while employed to work on a large software project, except that I work much more closely with the end users. (You don't understand the power of custom software until a user asks for a feature on Monday and you can demo it on Wednesday and merge it into stable code by the end of the week. They love this.)

    RMS doesn't say all software MUST be free. He says he believes it should, but he's also said he's not willing to force people. The choice to use GPLed software (and thus release their own) is theirs to make.

    Microsoft on the other hand appears to be trying to force people to not use free software. Normally a company doesn't speak out against their competitors, essentially calling them communists and hinting that they destroy the economy by reducing tax, etc, etc. It appears they're lobbying for legal protection. Only time will tell though.

    And as for MS being more than Bill Gates... Who cares? Even though he's not the CEO anymore he still appears to be the driving force. A lot of people might have tied their money to him, but that doesn't change how you should see his actions. It's basically him saying he wants more money and control and he's continuing his policy of crushing others (through illegal or quasi-legal means) to get it. It's been a long time since MS has just released a competing product and let the market choose. You may see him as a model capitalist. Whatever. I see him as a threat to the livelihoods of everyone, including myself.

    It's just a real chuckle how you think that MS promotes standards. Haven't you paid any attention to how MS perverts existing standards, ignores them to make their own formats, and tries to disrupt anyone who uses their standards? (SAMBA, File converters from MS-Word, etc.)

    Once again, you're saying things that make me think you must either be getting paid, or perhaps are trying to defend MS because you've got stock and don't want the price to drop.

  96. Re:The Tragedy of the Commons. by WNight · · Score: 2

    It's funny that you complain about the number of projects on Freshmeat. That's not where you're supposed to go to find a finished project. It hosts development projects. Some of them are finished, but the majority, not suprisingly, are under development. It's like blaming GeoCities for the bad web pages they host.

    Yes, and who do you suppose will fund this if all software is free software?

    I presume the same people as now. The developers. Interested users.

    Why? All this excess baggage that Linux carries around--consumers don't need this.

    Why get rid of it? All the formats are open and documented. All the shells except Bash are deprecated, etc. The rest are just there for people who grew up with old systems.

    And proprietary vendors tend to either make their formats work,

    Nobody is claiming that proprietary formats don't work. People are claiming proprietary formats don't work with anything else.

    If WordPerfect can't import MS Word files, WordPerfect gets blamed, despite the fact that MS made to convoluted and undocumented format.

    Each shell is practically a whole new incompatible platform that software must work with.

    When a script runs it specifies the shell it wants. Programs that run under a shell (such as an installer script) pick one and support it. They then work fine when run under any shell.

    Have you used unix? For more than a day or two perhaps?

    And plumbers get the same treatment after they fix a nasty leak.

    Perhaps after they install new plumbing perhaps. But what's wrong with that? I don't see why programming should be held to be anything other than a specialized trade. I'm not ashamed at the idea that I provide a valuable product/service and get paid for it.

    There were paid programmers, I'm sure. But, I'm willing to bet that they were paid very modest sums. I believe they were viewed more as "secretarial" positions, rather than professions such as Doctors or Lawyers. [snip] Are they responsible, in part, for raising programmer's salary?

    Chuckle. An older friend of mine bitches about the low wages these days. He made $150k+ per year, once over $220k, 1970s dollars, for programming back on old IBM mainframes. Today he makes $60k or something. Not a bad wage by any means, but a fraction of what he made before.

    Why would anyone want to destroy this perceived value by making it appear as if software is easy to create and doesn't really matter? When mom-and-pop understand fully that compatible quality software can be made with programmer's free time, for free, what is stopping them from demanding this from Microsoft, Intuit, etc.?

    I'm sure you also argue against including compilers with an OS, or making them freely available. I mean, if people see that they can write programs they're going to write their own and never use Microsoft's right?

    I am very glad that I can program. I automate many tasks that take my friends hours. Even the ones who can use 3rd-party macro programs can't compete with a perl script I can hack together. If I want to see how a fractal changes if I modify the formula, I can. They have to ask me or hope that someone on the net had the same curiosity as them.

    This is a gift that I want to share with everyone. They may never use it, but they'll be able to. Linux will never be locked down, but I can easily imagine a day when to "combat viruses" all code run on a Windows computer must be cryptographically signed. When users are crippled because a company wants to potentially squeeze more money from them in the future.

    The reason your salary has not been cut is because software, for the most part, still has value.

    One of the contracts I've taken was an ordering/tracking system for a company that made circuit boards. Previously an order (of anything complex) could take up to 30-40 minutes, with a few binders full of pricing charts, to price. The calculation screen(s) I made had space for 80+ variables, accessing hundreds of tables for pricing data. But you could give the customer a price as soon as you were done entering the data. It saved further time by passing the order to work stations at the various steps in the process. From ordering to a sealed computer hung over the drill press in the machine room, to accounting and shipping at the end.

    The project saved an average of 15 minutes per order. It also meant that they passed notes and all design docs (the cirsuit diagrams) along as files, instead of taking a folder from station to station.

    They mentioned a years or so after the project was finished that they hadn't lost an order since it was put in, and that they loved being able to pull up a spreadsheet that told them how many dollars worth of product were due to be done at any time, where work was backed up, etc. They were working to integrate it into a bonus system for the workers, as well as to let them know ahead of time about potential work shortages.

    At my estimate (just of time saved initially) it let them do three times as much work per customer service rep. It eliminated one job (a guy who was moved into customer service instead of fired) of lugging paper around, keeping files straight, etc. It removed the requirement for a room of files, plus the printing costs, storage for old files, probably 5% of machinist time... Hell, even one of the accountants said he was happier because he didn't get stinky files with fiberglass shavings and etching fluid stains on them.

    And you don't think that has value? Probably $400 / day, or more. That was the best $20k they ever spent.

    But there's no way an off-the-shelf package would do what they want. Too much custom stuff. I've seen some systems for designing a pricing layout by drag and drop... fairly nice, but nowhere near the level of complexity something like this takes. And I doubt anyone will bother making it that good, for the .1% of customers who want it.

    I've seen places where almost any business could benefit from custom software. Let me talk to the employees and identify their bitches and I can find even more. 10 minutes a day of hassle doesn't seem like much, but if you're paying $20/hour that's $3.33. Multiply by five employees, times 250 (working days per year) and you're at $4k. Figure in saved training time, and it's starting to look pretty sweet. (That was solved by a few simple batch files to open the right applications, perform incremental backups, etc.)

    This will always have value.

    [...] but it will be the FSF that brings the entire software industry to its knees.

    Once again. Only if the work of paid professionals can't match the hobby work of a bunch of geeks. (Which you seem to think is really really crappy...)

    But if they can't match the free software, what right to they have to bitch? They just want corporate welfare. "Rise up Joe Sixpack, cast down the shackles of free software made by the people and send half a month's wage to the world's richest man to sustain his lifestyle." It's not really concerning anyone except the rich who've sunk their mutual funds into MS stock.

  97. Re:The Tragedy of the Commons. by WNight · · Score: 2

    So? One company decided they didn't like the GPL, mostly based on RMS. Oh well.

    For a single counter-example, http://www.merilus.com/ is a company making a linux-based encrypted VPN router/packet filter on a card based on the Crusoe chip. They release all their software.

    Companies may find it hard to make money when giving software away for free, but they can always leverage their trademark and sell it retail. Nobody can forge it or they can sue. Sure, you can get it for free, but the average consumer isn't going to know that. If you include a nice installer on the CD and don't on the downloaded version you've got the attention of most regular users.

    But... Let's play pretend for a minute. Let's imagine that there isn't a market for selling GPLed software.

    Oh wow! The twisting worldview. There also isn't a market for selling ice to eskimos. Or really, to anyone with a fridge/freezer. But you don't hear the president of an ice-cube company complaining that putting the power of ice making in the hands of the common man is destroying the economy and rendering millions unemployable.

    Things change. There's no reason the software industry has to be this big. I might even find myself out of a job, but if I'm displaced by someone who can do a better job for less money, I'm willing to go. I don't want a job that exists only because of a government mandate.

    It's amazing that for a professed capitalist you have all these facist, big-government leanings. I thought the idea was that the market would sort it out. If mega-corporations can't manage because of competition from hobbyists then they aren't providing anything of value. (See Artificial Scarcity.)

  98. Re:The Tragedy of the Commons. by WNight · · Score: 2

    I agree. You don't have to be socialist to want big government.

    I was trying to point out some hypocrisy on RR's arguments though. He lambastes open source as being communist, and says there (basically) "needs to be a law!" I'm just pointing out that for someone who thinks might makes right and has a generally Randian point of view, he sure seems to want government protection when something comes along that threatens him or his comfortable world.

    I know he can be greedy and want a strictly regulated economy (for his benefit). But he shouldn't throw around terms like "socialist" and "communist" as slurs unless he's against a regulated market.

    Myself, I'm quite socialist. Both because I think it's "right" that people don't starve, but also because I'd rather pay slightly higher taxes to ensure that the poor aren't so poor or downtrodden they feel the need to overthrow society. However, I get a kick out of tweaking psuedo-libertarians who want a free market (for them to abuse) but a set of very strict rules that force people to put up with it, and not pull similar tricks on them.

  99. Re:The Tragedy of the Commons. by WNight · · Score: 2

    You conjecture that because some software is free, a manager will object to the idea of paying someone an hourly rate to make other software?

    Carpentry is an easy at-home task and almost everyone has done some. However, carpenters seem to make a living.

    It's a market economy. If they can find someone as qualified as I am, who will work cheaper coding annoying doo-dads for their database, they're free to hire them. It's happened before. Sometimes I've been called back by the sheepish client to fix the mess they made.

    If I have a job though, I want it to be providing a real service to a customer with freedom of choice. I'm sorry you don't have confidence in your job options in a new economy.

  100. Re:The Tragedy of the Commons. by WNight · · Score: 2

    If you're accusing me of not paying full attention to what you're saying, I suggest you look in a mirror.

    I'm not trying to deny Microsoft the right to anything. I'm simply calling for them to be honest for once. If they say open source is bad, let them avoid using it. If they use it, maybe they should say that it's not a bad thing.

    If they can't be honest about something that obvious it really makes you wonder what else they're lying about.