diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-02-21 16:37:10 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-02-21 16:38:49 +0100 |
commit | 52a8375025cb266a43f937198569e8947a930ead (patch) | |
tree | 77c6701336c40b2f2be83907845fbabaa80caf4e /include/osmocom/core/msgfile.h | |
parent | 9ef2e15dc190a51de85cb9439676ddc1cd7c1fd2 (diff) |
select: Call log_reset_context() before calling file descriptor callbacks
Make sure to clear any log context before processing the next incoming message
as part of some file descriptor callback. This effectively prevents "context
leaking" from processing of one message into processing of the next message as part
of one iteration through the list of file descriptors here.
Change-Id: I3644c7bc1a9cec5858eb0faf94efc8c3ba7f5d8d
Closes: OS#3813
Diffstat (limited to 'include/osmocom/core/msgfile.h')
0 files changed, 0 insertions, 0 deletions