[6546] in bugtraq
No subject found in mail header
daemon@ATHENA.MIT.EDU (bst@INAME.COM)
Mon Apr 20 15:31:55 1998
Date: Mon, 20 Apr 1998 14:14:35 -0400
Reply-To: bst@INAME.COM
From: bst@INAME.COM
To: BUGTRAQ@NETSPACE.ORG
More Sunsite buggy soft:
- ftp://sunsite.unc.edu/pub/Linux/apps/video/qcam-0.7c-5.tar.gz
- ftp://sunsite.unc.edu/pub/Linux/apps/video/sqcam-0.1.tar.gz
We can see their Makefiles:
install:: all
install -s -m 4755 -o root sqcam $(BINPATH)
and
install:: all
install -s -m 4755 -o root qcam $(BINPATH)
install -s -m 4755 -o root xqcam $(BINPATH)
then in the .c's:
[...]
sprintf(lockfile,"/tmp/LOCK.qcam.0x%x",q->port);
if (-1 == (q->fd = open(lockfile, O_WRONLY | O_CREAT, 0666)))
[...]
Nothing to say here...
[...]
if (f == NULL) {
sprintf(buf, "Cannot open configuration file %s!", file);
perror(buf);
return 1;
}
/* Where _file_ is a command line option */
Nothing to say here neither...
Btw: Nothing to say ;)