diff options
| author | Garrett D'Amore <garrett@damore.org> | 2022-12-31 13:55:11 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2022-12-31 13:55:11 -0800 |
| commit | 539e559e65cd8f227c45e4b046ac41c0edcf6c32 (patch) | |
| tree | 36eb234d9511bdcc0edf29a4a1a31b427be929fb /src/sp/protocol | |
| parent | f26ddeb81a5ea9d316444951f54a2a017db70482 (diff) | |
| download | nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.tar.gz nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.tar.bz2 nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.zip | |
Fixes for some security complaints.
None of these changes are actual security bugs, but GitHub's
scanner reports false positives at Critical severity for them.
(There are a number of complaints from that scanner, many of
which we do not necessarily agree with.)
Diffstat (limited to 'src/sp/protocol')
| -rw-r--r-- | src/sp/protocol/pipeline0/push.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pipeline0/push.c b/src/sp/protocol/pipeline0/push.c index 09953ccf..284af5aa 100644 --- a/src/sp/protocol/pipeline0/push.c +++ b/src/sp/protocol/pipeline0/push.c @@ -182,7 +182,7 @@ push0_pipe_ready(push0_pipe *p) push0_sock *s = p->push; nni_msg *m; nni_aio *a = NULL; - size_t l; + size_t l = 0; bool blocked; nni_mtx_lock(&s->m); |
