Check socket path length in OS_CreateLocalIpcFd() and OS_FcgiConnect()
authorPetr Písař <ppisar@redhat.com>
Tue, 30 Jul 2019 09:45:50 +0000 (11:45 +0200)
committerKaren Etheridge <ether@cpan.org>
Sat, 14 Dec 2019 18:08:52 +0000 (10:08 -0800)
commitd4be70bd2cf9d4b1f1e74199290c5b8ccf9a65fe
tree9bca37db791e9e5e61f2d8ffb9f48f6840809256
parent10adb3f2965b94183b706cf4a05d622b2f21e525
Check socket path length in OS_CreateLocalIpcFd() and OS_FcgiConnect()

If passed binPath argument is longer than MAXPATHLEN, we will write
passed the buffer. This patch fixes it.
libfcgi/os_unix.c