# HG changeset patch # User reimar # Date 1145051505 0 # Node ID df9633d451dca6277d172110123a6c072ad0737f # Parent f92a441c04427341d2e45d37d521b600f1204467 avoid crash when running "mplayer -loop" (dereferencing uninitialize pointer). diff -r f92a441c0442 -r df9633d451dc parser-mpcmd.c --- a/parser-mpcmd.c Fri Apr 14 21:08:25 2006 +0000 +++ b/parser-mpcmd.c Fri Apr 14 21:51:45 2006 +0000 @@ -140,9 +140,9 @@ if(strcasecmp(opt,"loop") == 0 && (! last_entry || last_entry->child) ) { int l; - char* end; + char* end = NULL; l = (i+1