crash when more than 20 arguments to filter commands
Brought to you by:
solbu
grip crashes when there are more than 20 arguments to
the various filter commands such as wav_filter_cmd. the
reason is an array with a fixed dimension of 21 in
launch.c in the function TranslateAndLaunch().
--- cut ---
void TranslateAndLaunch(char *cmd,char
*(*trans_func)(char,void *,gboolean *),
void *user_data,gboolean do_munge_default,
StrTransPrefs *prefs,void (*close_func)(void *),
void *close_user_data)
{
GString *str;
GString *args[100];
char *char_args[21]; // <<- change here
int pid;
int arg;
--- cut ---
patch file for the change in launch.c