summaryrefslogtreecommitdiff
path: root/thirdparty/misc
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2020-05-03 02:22:33 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2020-05-03 02:22:33 +0200
commitd259094c3aba09644e0ef8c58388d5377d7b5982 (patch)
treedc016be4cd0c98274a8f17d97a5a23bc18040073 /thirdparty/misc
parent092a1cfb398063c698fcdf302ecc93f1a7d794b7 (diff)
Fix crash in stb_vorbis.c
Diffstat (limited to 'thirdparty/misc')
-rw-r--r--thirdparty/misc/stb_vorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/misc/stb_vorbis.c b/thirdparty/misc/stb_vorbis.c
index b28944a4d9..b0d79b1724 100644
--- a/thirdparty/misc/stb_vorbis.c
+++ b/thirdparty/misc/stb_vorbis.c
@@ -961,7 +961,7 @@ static void *setup_temp_malloc(vorb *f, int sz)
static void setup_temp_free(vorb *f, void *p, int sz)
{
if (f->alloc.alloc_buffer) {
- f->temp_offset += (sz+3)&~3;
+ f->temp_offset += (sz+7)&~7;
return;
}
free(p);