Message ID | 20210209190315.1901653-1-adhemerval.zanella@linaro.org |
---|---|
State | Committed |
Commit | 7dd416491e080456fc7742d884c520526509413e |
Headers | |
Series | [COMMITTED] linux: Fix __sem_check_add_mapping search_sem | |
Commit Message
diff --git a/sysdeps/pthread/sem_routines.c b/sysdeps/pthread/sem_routines.c index c2c8b54cd0..34e6410729 100644 --- a/sysdeps/pthread/sem_routines.c +++ b/sysdeps/pthread/sem_routines.c @@ -37,7 +37,7 @@ struct search_sem ino_t ino; int refcnt; sem_t *sem; - char name[NAME_MAX]; + char name[NAME_MAX + 1]; }; /* Comparison function for search of existing mapping. */