Browse Source

* fix potential segfault

master
Alex 'AdUser' Z 8 years ago
parent
commit
88a8d52a10
  1. 4
      src/jail.c

4
src/jail.c

@ -355,8 +355,8 @@ f2b_jail_init(f2b_jail_t *jail, f2b_config_t *config) {
} }
if ((jail->backend = f2b_backend_create(b_section, jail->backend_init)) == NULL) { if ((jail->backend = f2b_backend_create(b_section, jail->backend_init)) == NULL) {
f2b_log_msg(log_error, "jail '%s': can't init backend '%s' with %s -- %s", f2b_log_msg(log_error, "jail '%s': can't init backend '%s' with %s",
jail->name, jail->backend_name, jail->backend_init, f2b_backend_error(jail->backend)); jail->name, jail->backend_name, jail->backend_init);
goto cleanup; goto cleanup;
} }
if (!f2b_backend_start(jail->backend)) { if (!f2b_backend_start(jail->backend)) {

Loading…
Cancel
Save