diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-10-07 15:53:10 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-10-07 16:01:03 +0300 |
| commit | 7640e3c60b33e13376185a0e0c85f3f6c272d0a9 (patch) | |
| tree | 91dddddd3fe42fc4ce3e93d452b11504cf829083 /lib/command.c | |
| parent | b7a88ee2910a1c76ccbae38a9e7226d6c93fff37 (diff) | |
*: don't pass pointers to a local variables to thread_add_*
We should never pass pointers to local variables to thread_add_* family.
When an event is executed, the library writes into this pointer, which
means it writes into some random memory on a stack.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
