We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c600d commit b37fc77Copy full SHA for b37fc77
src/main.c
@@ -109,6 +109,8 @@ int main(int argc, char** argv) {
109
break;
110
case SAVE_JOURNALD_CURSOR:
111
handle = persist_state_alloc_entry(state, systemd_journal, sizeof(struct journald_state));
112
+ if (handle == 0)
113
+ break;
114
journald_state = persist_state_map_entry(state, handle);
115
journald_state->header.version = 0;
116
journald_state->header.big_endian = (G_BYTE_ORDER == G_BIG_ENDIAN);
0 commit comments