Summary: | k3b shows incorrect list of writing speeds for DVD on FreeBSD | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Andriy Gapon <avg> |
Component: | Data Project | Assignee: | Sebastian Trueg <trueg> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tilman |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andriy Gapon
2007-01-12 19:30:52 UTC
SVN commit 622839 by trueg: Properly update the command length on BSD. BUG: 139985 M +2 -1 k3bscsicommand_bsd.cpp --- trunk/extragear/multimedia/k3b/libk3bdevice/k3bscsicommand_bsd.cpp #622838:622839 @@ -56,7 +56,8 @@ unsigned char& K3bDevice::ScsiCommand::operator[]( size_t i ) { - d->ccb.csio.cdb_len = i+1; + if( d->ccb.csio.cdb_len < i+1 ) + d->ccb.csio.cdb_len = i+1; return d->ccb.csio.cdb_io.cdb_bytes[i]; } |