fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] Crash in delete_fluid_audio_driver( NULL)


From: Paul Millar
Subject: [fluid-dev] Crash in delete_fluid_audio_driver( NULL)
Date: Tue, 21 Nov 2006 20:24:36 +0000
User-agent: KMail/1.9.5

Hi all,

Sorry, another quick one..

If you call delete_fluid_audio_driver() with NULL, libfluidsynth crashes the 
code with a seg-fault, presumably trying dereferencing the NULL ptr.  The 
other functions I tried (delete_fluid_synth() and delete_fluid_settings() ) 
don't suffer from this.

Trying to delete a NULL fluid_audio_driver_t could happen in sloppy code (like 
mine, oops, updated now :-) that doesn't check that new_fluid_audio_driver() 
succeeded.

So, perhaps this would be something to fix in the next release...

Cheers,

Paul.

Attachment: pgpH1zHivHeYr.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]