ANDROID: trusty-ipc: make TIPC_IOC_CONNECT reject too-long names
Reject service names longer than 256 bytes (including terminating null)
rather than silently truncate them.
Otherwise it may be impossible to increase the maximum supported length
in the future because userspace could start relying on the truncation.
Change-Id: I681a3cf4ae07afa81ecd7cea315ef6e40f0e42d2
Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading