Summary: | K3b krash | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Eugen <basker2007> |
Component: | general | Assignee: | Michał Małek <michalm> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | trueg |
Priority: | NOR | ||
Version: | 2.0.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=328529 | ||
Latest Commit: | Version Fixed In: | 2.0.3 | |
Sentry Crash Report: |
Description
Eugen
2011-05-04 11:22:41 UTC
Git commit 61ee818030f29e57556248adf1398b6c9e5ee7de by Michal Malek. Committed on 10/07/2011 at 00:03. Pushed by mmalek into branch '2.0'. Fixed crash on detecting writing speeds Device::Device::determineSupportedWriteSpeeds() method lacked checking if data array is of enough size before accessing it. BUG: 272427 FIXED-IN: 2.0.3 Conflicts: libk3bdevice/k3bdevice.cpp libk3bdevice/k3bdevice_mmc.cpp M +1 -0 ChangeLog M +1 -1 libk3bdevice/k3bdevice.cpp http://commits.kde.org/k3b/61ee818030f29e57556248adf1398b6c9e5ee7de Git commit 1ea92f39d2e4de81e38c3bed511350b07e9b7840 by Michal Malek. Committed on 10/07/2011 at 00:03. Pushed by mmalek into branch 'master'. 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. BUG: 272427 FIXED-IN: 2.0.3 M +1 -0 ChangeLog M +2 -2 libk3bdevice/k3bdevice.cpp M +6 -12 libk3bdevice/k3bdevice.h M +3 -3 libk3bdevice/k3bdevice_mmc.cpp M +2 -2 libk3bdevice/k3bdeviceglobals.cpp M +2 -2 libk3bdevice/k3bdeviceglobals.h http://commits.kde.org/k3b/1ea92f39d2e4de81e38c3bed511350b07e9b7840 |