version 1.275.2.1, 2016/01/14 11:50:37 |
version 1.275.2.2, 2016/01/27 12:19:42 |
|
|
return -1; |
return -1; |
} |
} |
do_unlink = 1; |
do_unlink = 1; |
if ((r = snprintf(xauthfile, sizeof(xauthfile), |
if ((r = snprintf(xauthfile, PATH_MAX, |
"%s/xauthfile", xauthdir)) < 0 || |
"%s/xauthfile", xauthdir)) < 0 || |
(size_t)r >= sizeof(xauthfile)) { |
(size_t)r >= PATH_MAX) { |
error("%s: xauthfile path too long", __func__); |
error("%s: xauthfile path too long", __func__); |
unlink(xauthfile); |
unlink(xauthfile); |
rmdir(xauthdir); |
rmdir(xauthdir); |