Fixed out of bounds array access.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36051 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
int NUM_OF_KEYS = PTHREAD_KEYS_MAX;
|
int NUM_OF_KEYS = PTHREAD_KEYS_MAX;
|
||||||
|
|
||||||
static pthread_key_t keys[5];
|
static pthread_key_t keys[NUM_OF_KEYS];
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user