Commit 05019ede authored by Eric Biggers's avatar Eric Biggers
Browse files

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: default avatarEric Biggers <ebiggers@google.com>
parent cb24ccc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment