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

via KDE Bugzilla bugzilla_noreply at kde.org
Tue Jul 26 16:29:04 BST 2016


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

            Bug ID: 366135
           Summary: audex-0.79: read uninit data ?
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: dcb314 at hotmail.com

utils/patternparser.cpp:221]: (error) Uninitialized variable: ok

Source code is

        bool ok;
        if (!atts.value("x").isEmpty()) x = atts.value("x").toInt(&ok);
        if (!ok) x = -1;

Also,

utils/patternparser.cpp:234]: (style) Redundant condition: cover. '!cover ||
(cover && cover.isEmpty())' is equivalent to '!cover || cover.isEmpty()'


Reproducible: Always

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



More information about the Unassigned-bugs mailing list