Navigation Menu

Skip to content
This repository has been archived by the owner on May 4, 2018. 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: joyent/libuv
base: ed36b85d3b7f
Choose a base ref
...
head repository: joyent/libuv
compare: 46a060214150
Choose a head ref
  • 5 commits
  • 2 files changed
  • 3 contributors

Commits on Dec 18, 2013

  1. unix: fix a possible memory leak in uv_fs_readdir

    Some scandir implementations allocate the dirent struct even if the
    directory is empty, so if `scandir` returns 0 there may still be memory
    that needs to get deallocated. I have altered uv__fs_readdir to go to
    the "deallocation exit area" when 0 files are found in the directory
    and continue to return early on a return value of -1.
    
    I went to add a test for this functionality, but it appears that one
    already exists (reading an empty directory), so I imagine that the
    valgrind builds must only be happening on linux instead of OSX as well?
    I have confirmed manually that a program without this fix will
    infinitely leak memory, and with this fix the memory usage stays
    constant.
    alexcrichton authored and indutny committed Dec 18, 2013
    Copy the full SHA
    7c6bddb View commit details
    Browse the repository at this point in the history
  2. 2013.12.19, Version 0.10.21 (Stable)

    Changes since version 0.10.20:
    
    * unix: fix a possible memory leak in uv_fs_readdir (Alex Crichton)
    tjfontaine committed Dec 18, 2013
    Copy the full SHA
    375ebce View commit details
    Browse the repository at this point in the history
  3. Now working on v0.10.22

    tjfontaine committed Dec 18, 2013
    Copy the full SHA
    9d60214 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2013

  1. windows: avoid assertion failure when pipe server is closed

    When a pipe server is closed, all pending accept requests and their
    associated HANDLEs are closed to force windows to cancel the
    ConnectNamedPipe IRP. The returned request has the `pipeHandle` field
    set to INVALID_HANDLE_VALUE, which trips an assert in
    uv_pipe_process_accept_req. This patch fixes that.
    piscisaureus committed Dec 21, 2013
    Copy the full SHA
    7b16a3f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'v0.10'

    Conflicts:
    	AUTHORS
    	ChangeLog
    	src/version.c
    piscisaureus committed Dec 21, 2013
    Copy the full SHA
    46a0602 View commit details
    Browse the repository at this point in the history