Use stat() to check permissions in checkset_perm() (Dave Holland)
Patch from Dave Holland in the Debian BTS (#475182).
--- a/mcabber/src/utils.c Fri Apr 11 21:24:02 2008 +0200
+++ b/mcabber/src/utils.c Fri Apr 11 21:55:11 2008 +0200
@@ -139,7 +139,7 @@
return 0;
#endif
- fd = lstat(name, &buf);
+ fd = stat(name, &buf);
if (fd == -1) return -1;
if (buf.st_uid != geteuid()) {