diff options
author | Yi EungJun <semtlenori@gmail.com> | 2016-08-07 05:39:13 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-06 16:39:13 -0400 |
commit | 3475fc5899db8c8c9198573912429b85213e4862 (patch) | |
tree | c375f7d0d059fd2fbf48e03a979561c407e06043 /src/journal-remote/log-generator.py | |
parent | 1aa1e59c7f34acdbd1af7c18e1fc471e5b92ed85 (diff) |
journal-gatewayd: fix segfault with certain request (#3893)
When client requests to get logs with `follow` and `KEY=match` that
doesn't match any log entry, journal-gatewayd segfaulted.
Make request_reader_entries to return zero in such case to wait for
matching entries.
This fixes https://github.com/systemd/systemd/issues/3873.
Diffstat (limited to 'src/journal-remote/log-generator.py')
0 files changed, 0 insertions, 0 deletions