Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4410 | major | always | 02-25-11 12:49 | 02-28-11 15:27 | |
|
|||||
Reporter: | brandonkearby | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.15 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.16 | ||
|
|||||
Summary: | 0004410: NPE in AbstractHttpResponse.fillCookies | ||||
Description: | When the cookie value is null an NPE is thrown. See additional info for the fix. | ||||
Steps To Reproduce: | |||||
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); |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|