| Anonymous | Login | Signup for a new account | 10-27-2025 23:51 PDT |
| 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 | ||||
| 0002607 | [Quercus] | major | always | 04-15-08 07:41 | 04-16-08 10:29 | ||||
| Reporter | sgraf | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 3.1.6 | ||||||
| Summary | 0002607: StringBuilderValuer.append(Reader reader, long length) fails with IndexOutOfBoundsException | ||||||||
| Description |
At line 1176 int sublen = Math.min(8192, (int)length); Will cast length to int but lenght is a long and this cast may result in a negative integer which in turn will be smaller then 8192. To correct this proble change this line to int sublen = (int) Math.min(8192L, length); Path file is attached. |
||||||||
| Additional Information | Related to issue 0002026 | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0002973) sgraf 04-15-08 07:42 |
In fact Additional Information should say: Related to issue 0002606 Would be nice to have an edit button ;-) |
|
(0002982) nam 04-16-08 10:29 |
php/4409 |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed. 29 unique queries executed. |