static void main_sink(FILE * data){fclose(data);}void _main(){FILE * data;void (*func_ptr) (FILE *)=main_sink;data=freopen("BadSource_freopen.txt","w+",stdin);fclose(data);func_ptr(data);}
static void main_sink(FILE * data){}static void main(){FILE * data;void (*func_ptr) (FILE *)=main_sink;data=freopen("BadSource_freopen.txt","w+",stdin);fclose(data);func_ptr(data);}