[pptp_callmgr.c:416]: (error) Dangerous usage of 'localaddr' (strncpy doesn't always null-terminate it).
[pptp_callmgr.c:416]: (error) Dangerous usage of 'remoteaddr' (strncpy doesn't always null-terminate it).
strncpy(localaddr, inet_ntoa(localbind), 16);
strncpy(remoteaddr, inet_ntoa(inetaddr), 16);
snprintf(where->sun_path, sizeof(where->sun_path),
PPTP_SOCKET_PREFIX "%s:%s", localaddr, remoteaddr);
Belt'n'braces programming. Always make sure to put in a zero
byte after any call to strncpy.
Fixed in https://sourceforge.net/p/pptpclient/git/ci/a0f0804317e1e1a20ace1f720b825dc9a9234337/