Index: include/asterisk/file.h =================================================================== --- include/asterisk/file.h (revision 214609) +++ include/asterisk/file.h (working copy) @@ -140,6 +140,7 @@ #endif }; const char *orig_chan_name; + char big_waste_of_memory[4096]; }; #define SEEK_FORCECUR 10 Index: main/file.c =================================================================== --- main/file.c (revision 214609) +++ main/file.c (working copy) @@ -308,7 +308,15 @@ char *cmd = NULL; size_t size = 0; struct ast_filestream *f = arg; + int i; + for (i = 0; i < ARRAY_LEN(f->big_waste_of_memory); i++) { + if (f->big_waste_of_memory[i]) { + ast_log(LOG_ERROR, "Found a non-zero byte at %d ! :-(\n", i); + break; + } + } + /* Stop a running stream if there is one */ if (f->owner) { if (f->fmt->format < AST_FORMAT_MAX_AUDIO) {