Re: [patch] libmudflap: check for NULL path in dlopen wrapper

2013-01-16 Thread Jakub Jelinek
On Wed, Jan 16, 2013 at 04:32:25PM +0100, Matthias Klose wrote: > PR mudflap/24619 > * mf-hooks2.c (dlopen wrapper): Check for NULL path. > > Index: b/src/libmudflap/mf-hooks2.c > === > --- a/libmudflap/mf-hooks2.c > +++ b

[patch] libmudflap: check for NULL path in dlopen wrapper

2013-01-16 Thread Matthias Klose
>From the bug report: If mudflap is used to instrument a program using dlopen, and the program (assuming it is compiled with -rdynamic) loads itself by passing NULL for the path to dlopen, the program will crash unconditionally; that is, regardless of the options passed to mudflap, so long as inst