sysutils/dvdisaster coredumps on FreeBSD/amd64 RELENG_9

Carsten Gnörlich cg at
Sun Mar 11 18:09:59 UTC 2012

Hi C. P. and all,

> @Carsten: I hope you can pinpoint the problem. I suspect
> a change in FreeBSD's CAM layer API/ABI that causes some
> sort of buffer overrun on RELENG_9. The patch points to the
> exact line of code that causes dvdisaster 0.72.3 to crash.

Thanks for the report. You're right about the memory
corruption occurring in the line you commented out;
it's a data size mismatch triggered by a size change
in struct scsi_sense_data.

The attached patch corrects the problem.
A new upstream release will be made after some
more testing.


Carsten Gnörlich * Project homepage
dvdisaster: Additional error correction for CD and DVD media.
GnuPG FP: 12B3 1535 AF90 3ADE 9E73  BA7E 5A59 0EFE F5F6 C46C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freebsd.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list