Revision 1ea92f3...

Go back to digest for 17th July 2011

Bug Fixes in Multimedia

Michał Małek committed changes in [k3b] /:

Fixed crash on detecting writing speeds

In method K3b::Device::Device::modeSense() page data is initially
resized to 0xFFFF, the page date is being read and then the actual
size of the page is obtained from the data itself. The problem was,
after reading the actual size, data was not resized back to it.
Additionally, Device::Device::determineSupportedWriteSpeeds() method
lacked checking if data array is of enough size before accessing it.


FIXED-IN: 2.0.3

File Changes

Modified 6 files
  •   ChangeLog
  •   libk3bdevice/k3bdevice.cpp
  •   libk3bdevice/k3bdevice.h
  •   libk3bdevice/k3bdevice_mmc.cpp
  •   libk3bdevice/k3bdeviceglobals.cpp
  •   libk3bdevice/k3bdeviceglobals.h
6 files changed in total