Track tainted data and refuse to expand it
[exim.git] / src / src / ip.c
index 0f25df1dacc1a598615e8ec89ed1f3beb0f6bfd3..19be51a030d89b4cbefffc6e95fb1d1103f720a4 100644 (file)
@@ -515,7 +515,7 @@ if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
 
 callout_address = string_copy(path);
 server.sun_family = AF_UNIX;
-Ustrncpy(server.sun_path, path, sizeof(server.sun_path)-1);
+Ustrncpy(US server.sun_path, path, sizeof(server.sun_path)-1);
 server.sun_path[sizeof(server.sun_path)-1] = '\0';
 if (connect(sock, (struct sockaddr *) &server, sizeof(server)) < 0)
   {