mirror of https://github.com/ethereum/go-ethereum
rpc: fix off-by-one in ipc endpoint length check (#26614)
This change fixes a minor flaw in the check for ipc endpoint length. The max_path_size is the max path that an ipc endpoint can have, which is 208. However, that size concerns the null-terminated pathname, so we need to account for an extra null-character too.pull/26616/head
parent
bd726f86b8
commit
8e92881a3d
Loading…
Reference in new issue