head 1.3; access; symbols OPENPKG_E1_MP_HEAD:1.3 OPENPKG_E1_MP:1.3 OPENPKG_E1_MP_2_STABLE:1.3 OPENPKG_E1_FP:1.3 OPENPKG_2_STABLE_MP:1.3 OPENPKG_2_STABLE_20061018:1.3 OPENPKG_2_STABLE_20060622:1.3 OPENPKG_2_STABLE:1.3.0.14 OPENPKG_2_STABLE_BP:1.3 OPENPKG_2_5_RELEASE:1.3 OPENPKG_2_5_SOLID:1.3.0.12 OPENPKG_2_5_SOLID_BP:1.3 OPENPKG_2_4_RELEASE:1.3 OPENPKG_2_4_SOLID:1.3.0.10 OPENPKG_2_4_SOLID_BP:1.3 OPENPKG_CW_FP:1.3 OPENPKG_2_3_RELEASE:1.3 OPENPKG_2_3_SOLID:1.3.0.8 OPENPKG_2_3_SOLID_BP:1.3 OPENPKG_2_2_RELEASE:1.3 OPENPKG_2_2_SOLID:1.3.0.6 OPENPKG_2_2_SOLID_BP:1.3 OPENPKG_2_1_RELEASE:1.3 OPENPKG_2_1_SOLID:1.3.0.4 OPENPKG_2_1_SOLID_BP:1.3 OPENPKG_2_0_RELEASE:1.3 OPENPKG_2_0_SOLID:1.3.0.2 OPENPKG_2_0_SOLID_BP:1.3; locks; strict; comment @# @; 1.3 date 2004.02.09.14.41.41; author thl; state Exp; branches; next 1.2; 1.2 date 2003.05.29.07.17.21; author thl; state dead; branches; next 1.1; 1.1 date 2003.05.16.09.10.10; author rse; state Exp; branches; next ; desc @@ 1.3 log @same problem as mkisofs, same solution @ text @--- libscg/scsi-linux-sg.c.orig 2002-10-21 18:20:35.000000000 +0200 +++ libscg/scsi-linux-sg.c 2004-02-08 16:31:52.001002000 +0100 @@@@ -58,6 +58,9 @@@@ */ #include +#ifndef u8 +typedef unsigned char u8; /* undefined on Gentoo 1.4.3 (iX86) */ +#endif #ifndef LINUX_VERSION_CODE /* Very old kernel? */ # define LINUX_VERSION_CODE 0 @ 1.2 log @upgrading package: cdrecord 2.0 -> 2.00.3 @ text @d1 4 a4 8 --- librscg/scsi-remote.c +++ librscg/scsi-remote.c @@@@ -292,7 +292,7 @@@@ /* * Save non user@@host:device */ - js_snprintf(devname, sizeof(devname), device); + js_snprintf(devname, sizeof(devname), "%s", device); d6 4 a9 18 if ((p = strchr(devname, ':')) != NULL) *p++ = '\0'; --- libscg/scsiopen.c +++ libscg/scsiopen.c @@@@ -270,7 +270,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); } --- libscg/scsitransp.c +++ libscg/scsitransp.c @@@@ -1053,7 +1053,7 @@@@ register char *p = buf; register int amt; d11 3 a13 5 - amt = js_snprintf(p, maxcnt, s); + amt = js_snprintf(p, maxcnt, "%s", s); if (amt < 0) return (amt); p += amt; @ 1.1 log @fix two more security bugs related to formatting @ text @@