You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/09 10:53:41 UTC

DO NOT REPLY [Bug 51348] New: Potential NullPointerException in org.apache.catalina.servlets.WebdavServlet at line 1336

https://issues.apache.org/bugzilla/show_bug.cgi?id=51348

             Bug #: 51348
           Summary: Potential NullPointerException in
                    org.apache.catalina.servlets.WebdavServlet at line
                    1336
           Product: Tomcat 6
           Version: 6.0.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: Klaus.Mehling@intland.com
    Classification: Unclassified


A WebDAV LOCK_REFRESH request may cause a NullPointerException because of an
(IMHO) wrong check at line 1332 in  WebdavServlet.java 1056763 2011-01-08
18:56:57Z markt.

I suggest line 1332 should be:
...
  if (toRenew != null) {
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51348] Potential NullPointerException in org.apache.catalina.servlets.WebdavServlet at line 1336

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51348

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Mark Thomas <ma...@apache.org> 2011-06-14 13:07:33 UTC ---
Thanks again. This has been fixed in 6.0.x and will be included in 6.0.33
onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51348] Potential NullPointerException in org.apache.catalina.servlets.WebdavServlet at line 1336

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51348

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-06-09 19:18:46 UTC ---
Created attachment 27140
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27140
Proposed patch for Tomcat 6

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51348] Potential NullPointerException in org.apache.catalina.servlets.WebdavServlet at line 1336

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51348

--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-06-09 19:20:28 UTC ---
Thanks for the report and the analysis.

The patch has been proposed for 6.0.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org