Fix unsafe usage of strerror(errno) within ereport(). This is the converse of the unsafe-usage-of-%m problem: the reason ereport/elog provide that format code is mainly to dodge the hazard of errno getting changed before control reaches functions within the arguments of the macro. I only found one instance of this hazard, but it's been there since 9.4 :-(.
Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5517367e978b29dedb1ca0e84a0285b8f9446fde Modified Files -------------- src/backend/libpq/auth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
