Anonymous | Login | Signup for a new account | 12-17-2024 08:48 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004410 | [Resin] | major | always | 02-25-11 12:49 | 02-28-11 15:27 | ||||
Reporter | brandonkearby | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.15 | ||||||
Summary | 0004410: NPE in AbstractHttpResponse.fillCookies | ||||||||
Description | When the cookie value is null an NPE is thrown. See additional info for the fix. | ||||||||
Additional Information |
Subversion is a tool for version control. For additional information, see http://subversion.tigris.org/ [^] brandonmac:trunk brandon$ svn diff Index: modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java =================================================================== --- modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java (revision 7912) +++ modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java (working copy) @@ -844,7 +844,7 @@ else { cb.append("="); String v = cookie.getValue(); - int len = v.length(); + int len = v == null ? 0 : v.length(); for (int i = 0; i < len; i++) { char ch = v.charAt(i); |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |