libuv/src
Rikard Falkeborn b44d5ee1b4
unix: fix uv_os_environ() null pointer check
Check the pointer to the allocated memory, not the pointer to the
pointer of the allocated memory. Previously, a failed allocation of
*envitems would lead to a NULL pointer dereference.

PR-URL: https://github.com/libuv/libuv/pull/2778
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
2020-04-14 20:24:53 -04:00
..
unix unix: fix uv_os_environ() null pointer check 2020-04-14 20:24:53 -04:00
win win: handle file paths in uv_fs_statfs() 2020-04-14 20:15:32 -04:00
fs-poll.c unix,win: fix uv_fs_poll_stop() when active 2019-05-06 15:02:01 +02:00
heap-inl.h
idna.c unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
idna.h unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
inet.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
queue.h
random.c netbsd: use KERN_ARND sysctl to get entropy 2019-10-29 13:36:05 +01:00
strscpy.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
strscpy.h unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
threadpool.c unix,win: add uv_random() 2019-09-18 08:09:14 +02:00
timer.c src: fix wrong method name in comment 2020-02-28 13:33:57 -05:00
uv-common.c src: add uv__reallocf() 2020-03-15 10:00:15 -04:00
uv-common.h src: add uv__reallocf() 2020-03-15 10:00:15 -04:00
uv-data-getter-setters.c test,sunos: fix statement not reached warnings 2019-03-16 13:22:16 -04:00
version.c