Hi Timo, Thanks for the report.
> + slen = prec ? > strnlen(sarg, prec) : strlen(sarg); `prec` defaults to -1 so that check is not correct. Also, the string returned by strerror() is always null terminated (%m case) and we don't actually use this with a precision. I pushed a fix for this to the printf-builtin-strlen branch [1]. Let me know if that works for you. Regards, Tobias [1] https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=944e99d5 _______________________________________________ Dev mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/dev
