mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Fix segfault while detecting drives due to 9x changes in CAM
PR: ports/165938 Submitted by: Corey Halpin <chalpin@cs.wisc.edu> (author/maintainer) Also fixes: PR: ports/164464 PR: ports/165787 Feature safe: yes
This commit is contained in:
parent
d883589acd
commit
30047d9399
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293449
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= dvdisaster
|
||||
PORTVERSION= 0.72.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF \
|
||||
http://dvdisaster.net/downloads/
|
||||
|
11
sysutils/dvdisaster/files/patch-scsi-freebsd.c
Normal file
11
sysutils/dvdisaster/files/patch-scsi-freebsd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- scsi-freebsd.c.orig 2012-03-14 18:59:03.409149568 +0000
|
||||
+++ scsi-freebsd.c 2012-03-14 19:28:12.104788317 +0000
|
||||
@@ -194,7 +194,7 @@
|
||||
|
||||
/* Extract sense data */
|
||||
|
||||
- memcpy(sense, &(ccb->csio.sense_data), sizeof(struct scsi_sense_data));
|
||||
+ memcpy(sense, &(ccb->csio.sense_data), sizeof(Sense));
|
||||
|
||||
if((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)
|
||||
return 0;
|
Loading…
Reference in New Issue
Block a user