Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3577

LoginWorker.doBasicLogout does not check userLogin against null

    XMLWordPrintableJSON

Details

    Description

      The method org.ofbiz.webapp.control.LoginWorker.doBasicLogout is use userLogin without check for against null values.

      userLogin is the values of request.getSession().getAttribute("userLogin") (Line 568) in Line 589 this is value is used. For the use in Line 585 there is a null pointer test.
      This occurs when a user that is allready logout reloads the logout page.

      Attachments

        1. LoginWorker.java.patch
          0.7 kB
          Stefan Roggensack

        Activity

          People

            jleroux Jacques Le Roux
            sroggensack Stefan Roggensack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: