diff -up gimp-gap/gap/gap_sdl_audioplayer.c.format-security gimp-gap/gap/gap_sdl_audioplayer.c
--- gimp-gap/gap/gap_sdl_audioplayer.c.format-security	2018-06-04 17:32:31.167211811 -0400
+++ gimp-gap/gap/gap_sdl_audioplayer.c	2018-06-04 17:32:58.901508843 -0400
@@ -600,7 +600,7 @@ gap_sdl_path(const char *pathname,int fl
 
         if (usrPtr->sounds[ii].fpWav == NULL)
         {
-          g_snprintf(usrPtr->sounds[ii].wav_filename, MAX_WAV_FILENAME_LENGTH -1, pathname);
+          g_snprintf(usrPtr->sounds[ii].wav_filename, MAX_WAV_FILENAME_LENGTH -1, "%s", pathname);
           usrPtr->sounds[ii].wav_filename[MAX_WAV_FILENAME_LENGTH -1] = '\0';
           usrPtr->sounds[ii].offset_to_first_sample = 0;
           usrPtr->sounds[ii].fpWav = gap_audio_wav_open_seek_data(usrPtr->sounds[ii].wav_filename);
