[Tarantool-patches] [PATCH] app: verify unix socket path length in socket.tcp_server()

Kirill Yukhin kyukhin at tarantool.org
Mon Feb 24 21:18:57 MSK 2020


Hello,

On 21 фев 15:32, Chris Sosnin wrote:
> Providing socket pathname longer than UNIX_PATH_MAX to socket.tcp_server()
> will not cause any error, lbox_socket_local_resolve will just truncate the
> name according to the limit, causing bad behavior (tarantool will try to
> access a socket, which doesn't exist). Thus, let's verify, that pathname
> can fit into buffer.
> 
> Closes #4634
> ---
> branch: https://github.com/tarantool/tarantool/tree/ksosnin/gh-4634-verify-socket-path-length
> issue: https://github.com/tarantool/tarantool/issues/4634

I've checked your patch into 2.3 and master.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list