]> granicus.if.org Git - php/commit
Don't leak peername if accept fails
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 14 Apr 2020 14:05:57 +0000 (16:05 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 14 Apr 2020 14:07:39 +0000 (16:07 +0200)
commitb56fb9019e8d5eb6576d4ce254e01fe749ca0b92
tree85ee1710f793192db99124c7c620b590e306caf6
parenta1b46fc15260ffeedbf67f4c08e5eda151667f38
Don't leak peername if accept fails

Even if the accept fails, the peername may be populated.
ext/standard/streamsfuncs.c