I was GOING to be super worried about things like "how the heck do I get #MikMod on Windows" ...but apparently #VLC plays #S3M files *adequately*. Not *good* tho.

#demoscene

At last: #Mikmod is running directly on the #ARM #CPU of the #AICA on the #Sega #Dreamcast. That's very cool and will help to play music without having an impact on the main CPU (and you do not need to use CDDA). Hopefully this will be integrated into #KallistiOS soon 🙂!

Today's bug is a `mikmod` player "stack overflow": https://sourceforge.net/p/mikmod/patches/17/

On distributions that build C code with `-D_FORTIFY_SOURCE=3` `mikmod` crashes at startup.

It's caused by buffer size calculation mismatch when offset in buffer is used:

char paneltitle[STORAGELEN];

SNPRINTF(paneltitle + strlen(paneltitle), STORAGELEN, "%c%s%c", ...

It should be something closer to:

SNPRINTF(paneltitle + strlen(paneltitle), STORAGELEN - strlen(paneltitle), "%c%s%c", ...

#mikmod #bug

Mikmod Sound System / Patches / #17 mikmod: fix startup crash on _FROTIFY_SOURCE=3 systems