mirror of https://github.com/postgres/postgres
Although error results received from the backend should always have
a SQLSTATE field, ones generated by libpq won't, making this code
vulnerable to a crash after, say, untimely loss of connection.
Noted by Coverity.
Oversight in commit 403a3d91c. Back-patch to 9.5, as that was.
pull/57/head
parent
b17ff07aa3
commit
7f4235032f
Loading…
Reference in new issue