> Diyanat Ali > > Solved the error by changing line 235 in cli.c > > ast_copy_string(newsound->name, file, > sizeof(newsound->name)); to > strncpy(newsound->name, file, sizeof(newsound->name)); > > it works fine now > Shouldn't that be: strncpy(newsound->name, file, sizeof(newsound->name)-1);