Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 8ee43006b81b
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: afbaddecd37a
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 15, 2013

  1. os: fix unlikely buffer overflow in os.type()

    * Fix a buffer overflow that happens iff strlen(info.sysname) > 255.
    * Check the return value of uname().
    bnoordhuis committed Apr 15, 2013
    Copy the full SHA
    78c5de5 View commit details
    Browse the repository at this point in the history
  2. os: handle 256 character hostnames

    Fix a (rather academic) buffer overflow. MAXHOSTNAMELEN is 256 on most
    platforms, which means the buffer wasn't big enough to hold the
    trailing nul byte on a system with a maximum length hostname.
    bnoordhuis committed Apr 15, 2013
    Copy the full SHA
    afbadde View commit details
    Browse the repository at this point in the history