diff options
author | Saúl Ibarra Corretgé <saghul@gmail.com> | 2015-07-03 10:56:34 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <saghul@gmail.com> | 2015-07-03 11:38:24 +0200 |
commit | e791e4532ee7261fe9fd1dc665157c04f1bd3733 (patch) | |
tree | 2493340725c7bb2cf1adf3cb18b3b238edbc2ca8 /docs/src | |
parent | a979e76eff22ec19885159cd24149efabbd26455 (diff) | |
download | libuv-e791e4532ee7261fe9fd1dc665157c04f1bd3733.tar.gz libuv-e791e4532ee7261fe9fd1dc665157c04f1bd3733.zip |
common: use offsetof for QUEUE_DATA
Silences the following runtime errors when compiling UBSan:
../src/unix/linux-core.c:181:9: runtime error: member access within null
pointer of type 'uv__io_t' (aka 'struct uv__io_s')
../src/unix/process.c:67:15: runtime error: member access within null
pointer of type 'uv_process_t' (aka 'struct uv_process_s')
../src/unix/process.c:91:15: runtime error: member access within null
pointer of type 'uv_process_t' (aka 'struct uv_process_s')
...
PR-URL: https://github.com/libuv/libuv/pull/422
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions