diff options
author | Jesper Storm Bache <jsbache@users.noreply.github.com> | 2021-11-24 16:50:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 19:50:52 -0500 |
commit | 1e7074913e1d2a1be72b62ba807325c14b0b317a (patch) | |
tree | ad77124ce4e3ec0514e65cf28726125142382abc /docs/src | |
parent | abfc4f0b15e3543425106a4b0bccd00a46ba5446 (diff) | |
download | libuv-1e7074913e1d2a1be72b62ba807325c14b0b317a.tar.gz libuv-1e7074913e1d2a1be72b62ba807325c14b0b317a.zip |
macos: fix the cfdata length in uv__get_cpu_speed (#3356)
We observed crashes inside CFRelease in uv__get_cpu_speed on the new
Mac Book Pro (arm) hardware. The problem is that the stack got
clobbered. On the new mac hardware the returned length is 8.
For the 4 byte case, a temp variable is used to avoid having to add
endian-sensitive offsets.
Fixes: https://github.com/libuv/libuv/issues/3355
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions