node/src
Fedor Indutny 8c868989be zlib: do not Unref() if wasn't Ref()ed
In very unlikely case, where `deflateInit2()` may return error (right
now happening only on exhausting all memory), the `ZCtx::Error()` will
be called and will try to `Unref()` the handle. But the problem is that
this handle was never `Ref()`ed, so it will trigger an assertion error
and crash the program.

Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/joyent/node/pull/8687
2014-12-04 18:10:13 +03:00
..
res windows: add support for '_Total' perf counters 2013-01-11 22:24:48 +01:00
cares_wrap.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
fs_event_wrap.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
handle_wrap.cc src: add HandleScope in HandleWrap::OnClose 2013-11-12 11:23:19 -08:00
handle_wrap.h core: Move UNWRAP_NO_ABORT to handle_wrap.h 2013-03-13 11:26:36 -07:00
macros.py Improve gyp build - now works kind of 2011-08-06 03:12:06 -07:00
ngx-queue.h process: add _getActiveHandles(), _getActiveRequests() 2012-05-15 21:00:27 +02:00
node.cc domains: fix issues with abort on uncaught 2014-11-18 16:39:39 -08:00
node.d dtrace: add missing translator 2012-02-03 14:07:32 +00:00
node.h hdr: always define NODE_WANT_INTERNALS 2014-09-26 10:31:10 +04:00
node.js domains: fix issues with abort on uncaught 2014-11-18 16:39:39 -08:00
node_buffer.cc buffer: special case empty string writes 2013-05-23 16:32:04 -07:00
node_buffer.h src: refactor buffer bounds checking 2014-02-08 15:31:27 -08:00
node_constants.cc constants: add O_NONBLOCK constant 2014-07-02 12:49:59 -07:00
node_constants.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_counters.cc src, test: downgrade to v8 3.14 api 2013-02-25 23:45:02 +01:00
node_counters.h windows: add tracing with performance counters 2012-11-21 01:21:53 +01:00
node_crypto.cc crypto: allow forcing SSLv2/v3 via secureProtocol 2014-10-20 14:35:18 -07:00
node_crypto.h crypto: allow runtime opt in using SSLv2/SSLv3 2014-10-15 17:36:05 -07:00
node_crypto_groups.h crypto: add function getDiffieHellman() 2012-02-21 14:07:25 +01:00
node_dtrace.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
node_dtrace.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_extensions.cc Don't use _snprintf() on Windows, it's not safe. 2012-05-08 16:02:14 +02:00
node_extensions.h typed arrays: don't declare as module 2013-01-08 05:08:00 +01:00
node_file.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
node_file.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_http_parser.cc src: refactor buffer bounds checking 2014-02-08 15:31:27 -08:00
node_http_parser.h process: expose the http_parser version in process.versions 2012-03-10 00:22:42 +01:00
node_internals.h buffer: speed up ascii character scanning 2013-03-08 14:42:15 -08:00
node_javascript.cc core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_javascript.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_main.cc core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_object_wrap.h src: don't SetInternalField() in ObjectWrap dtor 2013-04-10 15:37:30 +02:00
node_os.cc src: return empty set on ENOSYS for interfaces 2014-01-12 10:04:21 -08:00
node_os.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_provider.d dtrace: actually use the _handle.fd value 2013-04-03 09:52:56 -07:00
node_root_certs.h crypto: update root certificates 2014-12-04 16:57:48 +03:00
node_script.cc src, test: downgrade to v8 3.14 api 2013-02-25 23:45:02 +01:00
node_script.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_stat_watcher.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
node_stat_watcher.h fs: fix use after free in stat watcher 2012-08-20 17:29:58 +02:00
node_string.cc Update copyright headers 2011-03-14 17:37:05 -07:00
node_string.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
node_systemtap.d tracing: add systemtap support 2012-11-01 01:25:22 +01:00
node_version.h Now working on 0.10.34 2014-10-23 12:13:05 -07:00
node_win32_etw_provider-inl.h etw: update prototypes to match dtrace provider 2013-04-03 09:52:56 -07:00
node_win32_etw_provider.cc windows: generate ETW events to track v8 compiled code positions 2012-11-01 14:06:26 +01:00
node_win32_etw_provider.h etw: update prototypes to match dtrace provider 2013-04-03 09:52:56 -07:00
node_win32_perfctr_provider.cc windows: fix perfctr crash on XP and 2003 2013-01-03 23:31:26 +01:00
node_win32_perfctr_provider.h windows: add tracing with performance counters 2012-11-21 01:21:53 +01:00
node_zlib.cc zlib: do not Unref() if wasn't Ref()ed 2014-12-04 18:10:13 +03:00
perfctr_macros.py windows: add tracing with performance counters 2012-11-21 01:21:53 +01:00
pipe_wrap.cc src: turn uv_pipe_open() failures into exceptions 2013-09-28 10:35:57 +02:00
pipe_wrap.h core: use proper #include directives 2012-03-10 00:14:14 +01:00
process_wrap.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
req_wrap.h process: add _getActiveHandles(), _getActiveRequests() 2012-05-15 21:00:27 +02:00
signal_wrap.cc src, test: downgrade to v8 3.14 api 2013-02-25 23:45:02 +01:00
slab_allocator.cc src, test: downgrade to v8 3.14 api 2013-02-25 23:45:02 +01:00
slab_allocator.h core: add reusable slab allocator 2012-03-30 21:24:02 +02:00
stream_wrap.cc stream_wrap: don't call Number::New() 2013-11-27 03:53:45 +01:00
stream_wrap.h src: Use StringBytes in StreamWrap 2013-05-14 13:51:42 -07:00
string_bytes.cc string_bytes: Guarantee valid utf-8 output 2014-06-06 15:07:29 -07:00
string_bytes.h string_bytes: Guarantee valid utf-8 output 2014-06-06 15:07:29 -07:00
tcp_wrap.cc net: improve arbitrary tcp socket support 2013-03-14 15:55:30 +01:00
tcp_wrap.h child_process: new stdio API for .spawn() method 2012-06-01 20:52:13 +04:00
timer_wrap.cc timers: fix timers with non-integer delay hanging. 2014-08-04 12:00:40 -07:00
tree.h dns: don't rely on libuv for c-ares integration 2012-08-07 01:57:50 +02:00
tty_wrap.cc deps: upgrade libuv to 7b66ea1 2013-03-14 15:55:26 +01:00
tty_wrap.h child_process: new stdio API for .spawn() method 2012-06-01 20:52:13 +04:00
udp_wrap.cc src: replace usage of String::Utf8Value 2014-06-06 15:07:29 -07:00
udp_wrap.h stream_wrap, udp_wrap: add read-only fd property 2013-02-13 16:11:20 +01:00
util.h crypto: use domains for any callback-taking method 2014-09-16 15:23:04 -07:00
v8_typed_array.cc src, test: downgrade to v8 3.14 api 2013-02-25 23:45:02 +01:00
v8_typed_array.h typed arrays: re-export SizeOfArrayElementForType() 2012-12-17 17:37:51 +01:00
v8_typed_array_bswap.h typed arrays: fix sunos signed/unsigned char issue 2013-01-11 18:35:03 +01:00
v8abbr.h dtrace: backport two byte string fix 2013-10-09 08:49:39 -07:00
v8ustack.d dtrace: backport two byte string fix 2013-10-09 08:49:39 -07:00