From 17a64a9aa20aa27861b6169e38859358a323c5a8 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Thu, 16 Aug 2012 23:40:57 -0700 Subject: [PATCH] fix possible null pointer dereference (coverity-710882) --- src/framework/mlt_properties.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c index 4f21d68cf..92c88c660 100644 --- a/src/framework/mlt_properties.c +++ b/src/framework/mlt_properties.c @@ -483,6 +483,7 @@ int mlt_properties_pass( mlt_properties self, mlt_properties that, const char *p static inline mlt_property mlt_properties_find( mlt_properties self, const char *name ) { + if ( !name ) return NULL; property_list *list = self->local; mlt_property value = NULL; int key = generate_hash( name );