[Sablevm-bugs] [ sablevm-Bugs-668271 ] vm->threads.array is one entry too short
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2004-03-27 09:12:01
|
Bugs item #668271, was opened at 2003-01-14 21:16 Message generated for change (Comment added) made by davidbelanger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=668271&group_id=5523 Category: Execution Problem Group: SableVM >Status: Closed Resolution: None Priority: 5 Submitted By: Archie Cobbs (archiecobbs) Assigned to: Archie Cobbs (archiecobbs) Summary: vm-&gt;threads.array is one entry too short Initial Comment: The vm->threads.array array is allocated with SVM_MAX_THREAD_ID entries. in the array. However, it's possible for entry #SVM_MAX_THREAD_ID to be used (see Java_java_lang_Thread_nativeStart). Entry zero is not used of course. So SVM_MAX_THREAD_ID + 1 entries should be allocated instead. ---------------------------------------------------------------------- >Comment By: David Bélanger (davidbelanger) Date: 2004-03-27 04:11 Message: Logged In: YES user_id=694080 Fixed in staging r1884. David ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=668271&group_id=5523 |