AnsweredAssumed Answered

memfree bug in adi_fss.c

Question asked by gpetrowitsch on Feb 7, 2011
Latest reply on Feb 9, 2011 by CraigG

Hi,

 

I think I found a bug in the file adi_fss.c (I run Update 8).

In function adi_fss_Stat, Line 1792 a pointer is declared.

  ADI_FSS_FILE_DESCRIPTOR *pFileDesc;

This pointer is not initialized.

In line 1799 SplitPath() is called. If this fails, everything

up to line 1826 is skipped. In line 1829 adi_fss_free is

called on the uninitialized pointer pFileDesc.

 

This is not good - in other words, it's a bug.

 

Regards,

Gerhard

Outcomes