mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
063fc0a057
THE FREEBSD PORT DOES NOT SET THE SUID BIT, YOU ARE ONLY VULNERABLE IF YOU SET IT ON YOUR OWN! See http://marc.theaimsgroup.com/?l=bugtraq&m=105285564307225&w=2 for more. Submitted by: maintainer
12 lines
330 B
C
12 lines
330 B
C
--- libscg/scsiopen.c.orig Sun Mar 18 14:54:18 2001
|
|
+++ libscg/scsiopen.c Tue May 20 22:58:07 2003
|
|
@@ -239,7 +239,7 @@
|
|
}
|
|
if (scg__open(scgp, devname) <= 0) {
|
|
if (errs && scgp->errstr)
|
|
- js_snprintf(errs, slen, scgp->errstr);
|
|
+ js_snprintf(errs, slen, "%s", scgp->errstr);
|
|
scg_sfree(scgp);
|
|
return ((SCSI *)0);
|
|
}
|