• Martin Holst Swende's avatar
    rpc: fix off-by-one in ipc endpoint length check (#26614) · 8e92881a
    Martin Holst Swende authored
    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.
    8e92881a
ipc_unix.go 1.85 KB