[Ffmpeg-devel] [PATCH] .gdbinit

Rich Felker dalias
Thu Apr 5 00:17:10 CEST 2007


On Wed, Apr 04, 2007 at 06:09:01PM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Wed, Apr 04, 2007 at 04:22:17PM +0200, Luca Barbato wrote:
> > Rich Felker wrote:
> > > On Wed, Apr 04, 2007 at 08:51:35AM +0200, Diego Biurrun wrote:
> > >> On Tue, Apr 03, 2007 at 10:57:19PM -0400, Marc Hoffman wrote:
> > >>> [ATTACHMENT ~/gdb.p0, text/x-patch]
> > >> Hmmmm.
> > > 
> > > For what it's worth, I find it really annoying when programs include a
> > > .gdbinit file. It rarely works with all versions of gdb and results in
> > > errors that make gdb unusable until I rm it.. :)
> > 
> > better put it in the website or in the documentation dir (with also
> > maybe some valgrind conf files)
> 
> seconded

i agree, this is the best of both worlds.
btw .gdbinit is actually likely a vuln. i bet you could trick local
users into running gdb from a public dir or dir you own without them
realizing that it would run script from .gdbinit.... since no one even
seems to know it exists.

rich




More information about the ffmpeg-devel mailing list