--- SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c.noproc	2009-10-17 09:45:42.000000000 +0200
+++ SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c	2009-11-08 14:58:36.000000000 +0100
@@ -364,7 +364,10 @@
 		}
 		fclose(fp);
 	}
-	return(progname);
+	if (progname)
+		return(progname);
+	else
+		return SDL_strdup ("SDL");
 #elif defined(__NetBSD__)
 	return getprogname();
 #else
