41999d78e1
the binary is not installed suid root. http://marc.theaimsgroup.com/?l=bugtraq&m=105285564307225&w=2
13 lines
413 B
Plaintext
13 lines
413 B
Plaintext
$OpenBSD: patch-libscg_scsiopen_c,v 1.2 2003/05/17 01:12:23 brad Exp $
|
|
--- libscg/scsiopen.c.orig Tue Nov 19 11:13:37 2002
|
|
+++ libscg/scsiopen.c Fri May 16 18:57:52 2003
|
|
@@ -270,7 +270,7 @@ nulldevice:
|
|
}
|
|
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);
|
|
}
|