Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6587844
Votes 0
Synopsis MakeGreyscaleBits should check for number of edges available
Category java:classes_2d
Reported Against
Release Fixed 7(b20)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6585979
Submit Date 01-AUG-2007
Description
Failure analysis of 6585979 reveals problem in the t2ksc.c that is still present in the 7.0 code base.
MakeGreyscaleBits can actually use garbage from the t->xEdge[0]/t->yEdge[0].

This can lead to attempt to allocate huge chunk of memory that will fail.

It was laso reported that memory pool may contain duplicate pointers but from the code inspection 
i do not see how this can be possible in the 7.0. 

But at least we can fix MakeGreyscaleBits.
Posted Date : 2007-08-01 11:46:27.0
Work Around
N/A
Evaluation
Add check for number of available edges to MakeGreyscaleBits.
Posted Date : 2007-08-01 11:46:27.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang