Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1421

Expression with no effect (NO_EFFECT)

    Details

    • Type: Bug
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.4.3 beta 1, 2.4.3
    • Component/s: None
    • Labels:
      None

      Description

      Found by coverity.

      request.php line 206

      (int)preg_replace_callback('/(\-?\d+)(.?)/',
                          function ($m) {
                              self::$memoryLimit = $m[1] * pow(1024, strpos('BKMG', $m[2])) * self::MAXMEMORYUSAGE;
                          },
      strtoupper($memoryLimit));
      

      https://scan4.coverity.com/reports.htm#v37557/p14761/fileInstanceId=42305243&defectInstanceId=7831381&mergedDefectId=278714&eventId=7831381-0

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Manfred Manfred Kutas
                Reporter:
                Manfred Manfred Kutas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: