Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-10323

ESP incorrectly checks for errors querying file perms

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: ESP
    • Labels:
      None

      Description

      The following code fragment from dasess.cpp, CClientSessionManager::getPermissionsLDAP never reads the error code from the message buffer into the local 'e' variable

      if (mb.remaining()>=sizeof(ret)) {
      mb.read(ret);
      int e = 0;
      if (mb.remaining()>=sizeof(e))

      { if (err) *err = e; else if (e) throw new CDaliLDAP_Exception(e); }

      }

        Attachments

          Activity

            People

            • Assignee:
              russwhitehead Russ Whitehead
              Reporter:
              russwhitehead Russ Whitehead
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: