router_printconfig: ensure pemcert string is allocated
the parser allocator is discarded after parsing, so put a copy on the
router allocator instead
@@ -874,7 +874,7 @@ transport_mode: {
YYABORT;
}
$$->mode = W_SSL;
- $$->pemcert = $pemcert;
+ $$->pemcert = ra_strdup(ralloc, $pemcert);
#else
router_yyerror(&yylloc, yyscanner, rtr,
ralloc, palloc,
