mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-20 08:37:55 +07:00
journald: fix bad memory access
After vacuuming we need to retrieve the journal file object again, since it might have changed.
This commit is contained in:
parent
94469041d9
commit
32fca2d5b7
@ -513,6 +513,10 @@ static void write_to_journal(Server *s, uid_t uid, struct iovec *iovec, unsigned
|
||||
server_vacuum(s);
|
||||
vacuumed = true;
|
||||
|
||||
f = find_journal(s, uid);
|
||||
if (!f)
|
||||
return;
|
||||
|
||||
log_info("Retrying write.");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user