[kde] [Bug 366135] audex-0.79: read uninit data ?

Leslie Zhai via KDE Bugzilla bugzilla_noreply at kde.org
Thu Jul 28 09:53:43 BST 2016


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

--- Comment #11 from Leslie Zhai <xiangzhai83 at gmail.com> ---
Uninitialized issue
http://stackoverflow.com/questions/4879045/fun-with-uninitialized-variables-and-compiler-gcc
is depends:

1. bool ok; <- without initlized
    if (ok) {} then lead uninitialized issue!

2. bool ok;
QString::toInt(&ok);
// *ok Pointer has been pointed to some address
if (ok) {} NOT issue!

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



More information about the Unassigned-bugs mailing list