--- maelstrom-1.4.3-L3.0.6.orig/maclib/Mac_Sound.h
+++ maelstrom-1.4.3-L3.0.6/maclib/Mac_Sound.h
@@ -199,7 +199,7 @@
 		va_list ap;
 
 		va_start(ap, fmt);
-		vsprintf(errbuf, fmt, ap);
+		vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
 		va_end(ap);
 		errstr = errbuf;
 	}
