mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
fix: buffer overflow in jar_mod.h memcopy
This commit is contained in:
2
src/external/jar_mod.h
vendored
2
src/external/jar_mod.h
vendored
@@ -1130,7 +1130,7 @@ static bool jar_mod_load( jar_mod_context_t * modctx, void * mod_data, int mod_d
|
|||||||
{
|
{
|
||||||
if( modctx )
|
if( modctx )
|
||||||
{
|
{
|
||||||
memcopy(&(modctx->song.title),modmemory,1084);
|
memcopy(&(modctx->song), modmemory, 1084);
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
modctx->number_of_channels = 0;
|
modctx->number_of_channels = 0;
|
||||||
|
Reference in New Issue
Block a user