aboutsummaryrefslogtreecommitdiff
path: root/src/port/snprintf.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-05-18 10:02:31 -0400
committerNoah Misch <noah@leadboat.com>2015-05-18 10:02:31 -0400
commitb0ce385032d72d6acf1e330f733013553fe6affe (patch)
treeeeb158b7e34bc5cda085464767eee2274b0a5407 /src/port/snprintf.c
parent8cc7a4c5fdbe43b9b16b4cf3e07c8115107a8d4e (diff)
downloadpostgresql-b0ce385032d72d6acf1e330f733013553fe6affe.tar.gz
postgresql-b0ce385032d72d6acf1e330f733013553fe6affe.zip
Prevent a double free by not reentering be_tls_close().
Reentering this function with the right timing caused a double free, typically crashing the backend. By synchronizing a disconnection with the authentication timeout, an unauthenticated attacker could achieve this somewhat consistently. Call be_tls_close() solely from within proc_exit_prepare(). Back-patch to 9.0 (all supported versions). Benkocs Norbert Attila Security: CVE-2015-3165
Diffstat (limited to 'src/port/snprintf.c')
0 files changed, 0 insertions, 0 deletions