Skip to content

Commit

Permalink
lib: monkey: upgrade to v1.7.2 (#7951)
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan authored Sep 21, 2023
1 parent 38145ed commit 60fc471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/monkey/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endif()
# Monkey Version
set(MK_VERSION_MAJOR 1)
set(MK_VERSION_MINOR 7)
set(MK_VERSION_PATCH 1)
set(MK_VERSION_PATCH 2)
set(MK_VERSION_STR "${MK_VERSION_MAJOR}.${MK_VERSION_MINOR}.${MK_VERSION_PATCH}")

# Output paths
Expand Down
2 changes: 1 addition & 1 deletion lib/monkey/mk_core/external/winpthreads.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ int pthread_setspecific(pthread_key_t key, const void *value)
{
pthread_t t = pthread_self();

if (key > t->keymax)
if (key >= t->keymax)
{
int keymax = (key + 1) * 2;
void **kv = (void**)realloc(t->keyval, keymax * sizeof(void *));
Expand Down

0 comments on commit 60fc471

Please sign in to comment.