Skip to content
Commit de0c3b95 authored by Yicheng Qin's avatar Yicheng Qin Committed by Pavel Emelyanov
Browse files

test/zdtm/sockets_dgram: check the length of path used



Path generated in the test is copied into sun_path attribute in
struct sockaddr_un. Additional check on whether sun_path can
contain the whole path is added. It is useful because if sun_path
can only contain the first part of the path, all sockadd_un
will point to the same location, which leads to error.

Signed-off-by: default avatarYicheng Qin <yichengq@google.com>
Acked-by: default avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent b95407e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment