diff options
author | Tobias Nießen <tniessen@tnie.de> | 2019-04-16 19:01:45 +0200 |
---|---|---|
committer | Santiago Gimeno <santiago.gimeno@gmail.com> | 2019-04-26 20:10:27 +0200 |
commit | 620be96fc4c7645b606348933c67dbc201f53d28 (patch) | |
tree | 5569ad8694976307089e8b368aac3c5e424a2187 /docs/src/sphinx-plugins/manpage.py | |
parent | 8b87533863cd07114a887369c9eac49b22d3c4b5 (diff) | |
download | libuv-620be96fc4c7645b606348933c67dbc201f53d28.tar.gz libuv-620be96fc4c7645b606348933c67dbc201f53d28.zip |
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>
Diffstat (limited to 'docs/src/sphinx-plugins/manpage.py')
0 files changed, 0 insertions, 0 deletions