diff options
author | Valentin Bartenev <vbart@nginx.com> | 2021-11-23 15:36:24 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2021-11-23 15:36:24 +0300 |
commit | ef1ebf96f300d9a2f487656ac827a9c166f57197 (patch) | |
tree | 69b72111f8b4b8d733f25d1f1fbe61b090fbeb3d /src/nxt_port.c | |
parent | 015610f12d915d0ac28498bbd871ad5c67fd9b24 (diff) | |
download | unit-ef1ebf96f300d9a2f487656ac827a9c166f57197.tar.gz unit-ef1ebf96f300d9a2f487656ac827a9c166f57197.tar.bz2 |
Fixed possible access to an uninitialized field.
The "recv_msg.incoming_buf" is checked after jumping to the "done" label
if nxt_socket_msg_oob_get_fds() returns an error.
Also moved initialization of "port_msg" near to its first usage.
Found by Coverity (CID 373899).
Diffstat (limited to 'src/nxt_port.c')
0 files changed, 0 insertions, 0 deletions