[Sablevm-bugs] [ sablevm-Bugs-668271 ] vm->threads.array is one entry too short
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2003-03-24 03:25:16
|
Bugs item #668271, was opened at 2003-01-14 21:16 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=668271&group_id=5523 Category: Execution Problem Group: SableVM Status: Open 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=668271&group_id=5523 |