diff options
author | Yusuke Nojima <nojima718@gmail.com> | 2017-04-30 02:37:53 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-04-29 19:37:53 +0200 |
commit | 5b3cc0c86aeddd4615e7e28e79aa89e5b77a6507 (patch) | |
tree | 6d475ca590c60065211bf2fa872a9e4774dd7741 /src/basic | |
parent | db7076bf78bd8e466ae927b6d3ddf64190c8d299 (diff) |
journald: fix assertion failure on journal_file_link_data. (#5843)
When some error occurs during the initialization of JournalFile,
the JournalFile can be left without hash tables created. When later
trying to append an entry to that file, the assertion in
journal_file_link_data() fails, and journald crashes.
This patch fix this issue by checking *_hash_table_size in
journal_file_verify_header().
Diffstat (limited to 'src/basic')
0 files changed, 0 insertions, 0 deletions