fc_vsnprintf() fallback implementation uses internal buffer of 64k (VSNP_BUF_SIZE). While secfile to save is being prepared, ioz.c might request it to handle buffer of size 8096k (PLAIN_FILE_BUF_SIZE).
Noticed while testing WIP patch for #45629 that also adds missing overflow checking to fc_vsnprintf().
fc_vsnprintf() fallback implementation uses internal buffer of 64k (VSNP_BUF_SIZE). While secfile to save is being prepared, ioz.c might request it to handle buffer of size 8096k (PLAIN_FILE_BUF_SIZE).
Noticed while testing WIP patch for #45629 that also adds missing overflow checking to fc_vsnprintf().