diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-02-16 18:41:02 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-02-16 18:41:02 +0100 |
commit | d37dc246ebe708cc4cde6ddda2245cb881189492 (patch) | |
tree | fe72ff166ca26a5e51c742361b8196896e330096 /src | |
parent | Restore old readme (diff) | |
parent | Fix buffer overflow on re3_sem_open/close (diff) | |
download | re3-d37dc246ebe708cc4cde6ddda2245cb881189492.tar re3-d37dc246ebe708cc4cde6ddda2245cb881189492.tar.gz re3-d37dc246ebe708cc4cde6ddda2245cb881189492.tar.bz2 re3-d37dc246ebe708cc4cde6ddda2245cb881189492.tar.lz re3-d37dc246ebe708cc4cde6ddda2245cb881189492.tar.xz re3-d37dc246ebe708cc4cde6ddda2245cb881189492.tar.zst re3-d37dc246ebe708cc4cde6ddda2245cb881189492.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CdStreamPosix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp index 50d823d2..30fe06a0 100644 --- a/src/core/CdStreamPosix.cpp +++ b/src/core/CdStreamPosix.cpp @@ -57,7 +57,7 @@ re3_sem_close(sem_t* sem) sem_t* re3_sem_open(const char* format, ...) { - char semName[20]; + char semName[21]; va_list va; va_start(va, format); vsprintf(semName, format, va); @@ -71,7 +71,7 @@ re3_sem_close(sem_t* sem, const char* format, ...) { sem_close(sem); - char semName[20]; + char semName[21]; va_list va; va_start(va, format); vsprintf(semName, format, va); |