git.postgresql.org Git - postgresql.git/commit
2018年5月21日 04:32:28 +0000 (00:32 -0400)
2018年5月21日 04:32:28 +0000 (00:32 -0400)
commit 81256cd05f0745353c6572362155b57250a0d2a0
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 :-(.
This is the main PostgreSQL git repository.
RSS
Atom