[k3b] [Bug 382941] Segfault from getSupportedWriteSpeedsVia2A

Leslie Zhai bugzilla_noreply at kde.org
Mon Aug 14 03:42:08 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=382941

--- Comment #12 from Leslie Zhai <lesliezhai at llvm.org.cn> ---
Git commit 16576d6fd33fd4fd81f66904d29a4478a91a561f by Leslie Zhai.
Committed on 14/08/2017 at 03:35.
Pushed by lesliezhai into branch 'master'.

Revert from{2,4}Byte.

Hi Thomas:
Please help me! I have no idea why num_wr_speed_des (numDesc) might
be wrong? and how to make it correct if bigger than (32 - 8) / 4,
and where the *magic numbers* about 32 and 8 come from.

Testcase by Matthias Schwarzott!

CCMAIL: scdbackup at gmx.net

M  +11   -8    libk3bdevice/k3bdevice.cpp
M  +2    -2    libk3bdevice/k3bdeviceglobals.cpp
M  +19   -5    tests/k3bdeviceglobalstest.cpp

https://commits.kde.org/k3b/16576d6fd33fd4fd81f66904d29a4478a91a561f

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list