Commit 1eb3ce6d authored by Jelte Jansen's avatar Jelte Jansen Committed by JINMEI Tatuya
Browse files

[2275] fix strncpy in socketrequestortest

parent 93343897
......@@ -410,8 +410,8 @@ private:
"mkstemp() created a filename too long for sun_path");
memset(socket_address.sun_path, 0, sizeof(socket_address.sun_path));
strncpy(socket_address.sun_path, path_, len);
strncpy(socket_address.sun_path, path_,
#ifdef HAVE_SA_LEN
socket_address.sun_len = len;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment