From 2435384b31f3eaaa7f7d0671a21de1a1243057ba Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 17 Jun 2026 13:57:46 -0700 Subject: [PATCH] prowizard: fix GnuPlayer sample buffer size GnuPlayer clears a 64 KiB scratch buffer before expanding sample data, but allocated only 65436 bytes for it. Allocate the full 65536 bytes so the clear and later sample writes stay inside the buffer. --- prowizard/rippers/GnuPlayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prowizard/rippers/GnuPlayer.c b/prowizard/rippers/GnuPlayer.c index 98cac488..ba631e8a 100644 --- a/prowizard/rippers/GnuPlayer.c +++ b/prowizard/rippers/GnuPlayer.c @@ -290,7 +290,7 @@ void Depack_GnuPlayer ( void ) /* sample stuff */ free ( Whatever ); - Whatever = (uint8_t *) malloc (65436); + Whatever = (uint8_t *) malloc (65536); /*printf ( "\nNbrSmp : %ld\n",NbrSmp);*/ l=0; for ( i=0 ; i