mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
journal: add missing endianess conversion
This commit is contained in:
parent
feb12d3ed2
commit
3e4b9b506d
@ -362,7 +362,7 @@ int journal_file_fss_load(JournalFile *f) {
|
||||
goto finish;
|
||||
}
|
||||
|
||||
if (le64toh(m->fsprg_state_size) != FSPRG_stateinbytes(m->fsprg_secpar)) {
|
||||
if (le64toh(m->fsprg_state_size) != FSPRG_stateinbytes(le16toh(m->fsprg_secpar))) {
|
||||
r = -EBADMSG;
|
||||
goto finish;
|
||||
}
|
||||
|
@ -39,7 +39,6 @@
|
||||
* - evolve key even if nothing happened in regular intervals
|
||||
*
|
||||
* - check with sparse
|
||||
* - 64bit conversions
|
||||
*
|
||||
* */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user