Parcourir la source

Merge pull request #5091 from Auios/patch-2

fix: buffer overflow in jar_mod.h memcopy
pull/5032/head^2
Ray il y a 2 mois
committed by GitHub
Parent
révision
881c68e323
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      src/external/jar_mod.h

+ 2
- 2
src/external/jar_mod.h Voir le fichier

@ -1130,7 +1130,7 @@ static bool jar_mod_load( jar_mod_context_t * modctx, void * mod_data, int mod_d
{
if( modctx )
{
memcopy(&(modctx->song.title),modmemory,1084);
memcopy(&(modctx->song), modmemory, 1084);
i = 0;
modctx->number_of_channels = 0;
@ -1593,4 +1593,4 @@ void jar_mod_seek_start(jar_mod_context_t * ctx)
//-------------------------------------------------------------------------------
#endif //end of header file
#endif //end of header file

Chargement…
Annuler
Enregistrer