libuv/src/win
Tobias Nießen 620be96fc4
win,util: fix null pointer dereferencing
If uv__calloc returns NULL, the function jumps to the error label and
attempts to access array elements of cpu_infos (which is NULL).

PR-URL: https://github.com/libuv/libuv/pull/2264
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2019-04-26 20:10:27 +02:00
..
async.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
atomicops-inl.h
core.c unix: refactor getsockname/getpeername methods 2019-03-16 12:05:23 -04:00
detect-wakeup.c
dl.c warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
error.c
fs-event.c win: fix sizeof-pointer-div warning 2019-01-11 15:19:30 -05:00
fs.c unix,win: add uv_fs_{open,read,close}dir() 2019-03-26 18:47:51 -04:00
getaddrinfo.c unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
getnameinfo.c unix,win: limit concurrent DNS calls to nthreads/2 2018-08-21 10:48:24 +02:00
handle-inl.h unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
handle.c unix, win: make fs-poll close wait for resource cleanup 2019-03-11 09:50:01 +00:00
internal.h unix: refactor getsockname/getpeername methods 2019-03-16 12:05:23 -04:00
loop-watcher.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
pipe.c unix: don't send handle twice on partial write 2018-12-30 20:13:48 +01:00
poll.c warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
process-stdio.c
process.c warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
req-inl.h
signal.c win: Redefine NSIG to consider SIGWINCH 2018-10-18 10:15:26 +02:00
snprintf.c
stream-inl.h
stream.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
tcp.c unix: refactor getsockname/getpeername methods 2019-03-16 12:05:23 -04:00
thread.c thread: allow specifying stack size for new thread 2019-02-08 21:15:01 +01:00
tty.c win: fix duplicate tty vt100 fn key 2019-02-10 10:04:18 -05:00
udp.c udp: add support for UDP connected sockets 2019-03-16 12:05:37 -04:00
util.c win,util: fix null pointer dereferencing 2019-04-26 20:10:27 +02:00
winapi.c unix,win: add uv_os_uname() 2019-01-14 10:47:20 -05:00
winapi.h unix,win: add uv_os_uname() 2019-01-14 10:47:20 -05:00
winsock.c win: skip winsock initialization in safe mode 2019-03-16 11:42:41 -04:00
winsock.h