initialization where the msg_parent field is accessed.
ok tobhe
-/* $OpenBSD: ikev2_msg.c,v 1.87 2022/09/21 22:32:11 tobhe Exp $ */
+/* $OpenBSD: ikev2_msg.c,v 1.88 2022/11/11 16:17:16 mbuhl Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
sa->sa_encr == NULL ||
sa->sa_integr == NULL) {
log_debug("%s: invalid SA", __func__);
- goto done;
+ ikestat_inc(env, ikes_frag_send_failures);
+ return ret;
}
sa_fam = ((struct sockaddr *)&sa->sa_local.addr)->sa_family;