Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: monkey: upgrade to v1.7.2 #7951

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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