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

Typo in identifier (IDENTIFIER_TYPO)

    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.

      if (isset($asuserdata->wipeStatus) && $asuserdata->wipeStatus > SYNC_PROVISION_RWSTATUS_OK) {
         	
      CID 278720 (#1 of 1): Typo in identifier (IDENTIFIER_TYPO)
      identifier_typo: Using wipeRequstOn appears to be a typo:
      Identifier wipeRequstOn is only known to be referenced here, or in copies of this code.
      Identifier wipeRequestOn is referenced elsewhere at least 5 times.
         	Should identifier wipeRequstOn be replaced by wipeRequestOn?
      121                    ZLog::Write(LOGLEVEL_INFO, sprintf("User '%s' has requested a remote wipe for this device on '%s'", $asuserdata->wipeRequestBy, strftime("%Y-%m-%d %H:%M", $asuserdata->wipeRequstOn)));
      122
      

      https://scan4.coverity.com/reports.htm#v37557/p14761/fileInstanceId=42305169&defectInstanceId=7831376&mergedDefectId=278720&eventId=7831376-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: