Skip to content
Snippets Groups Projects
Commit aae93514 authored by Chris Sosnin's avatar Chris Sosnin Committed by Kirill Yukhin
Browse files

app: verify unix socket path length in socket.tcp_server()

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
parent 4dee6890
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment