[Yaffs-archive] YAFFS: recently checked in sources of yaffs

Charles Manning manningc2@actrix.gen.nz
Wed, 22 Jan 2003 09:33:07 +1300


Thanx to Tommy for spotting these.

These are fixed in 1.18 (just checked in).

On Tue, 21 Jan 2003 21:04, Thomas Wiest wrote:
> Charles,
>
> I've checked out the yaffs sources version 1.17. It works fine on my
> system. Two things I have found:
>
> in function
> static int yaffs_FindDirtiestBlock(yaffs_Device *dev,int aggressive)
> the stack variable
> int iterations;
> is uninitialized when the variable aggressive is 0
> this may lead to unexpected errors.
>
> The second is that if you deinitialize yaffs by calling
> void yaffs_Deinitialise(yaffs_Device *dev)
> you shoud free your local buffer
> YFREE(dev->localBuffer);
>
>
> tommy
>
>
> -------------------------------------------
> ESE GmbH
> Thomas Wiest
> Geschäftsführer
>
> Mühlbachstrasse 20
> D-78351 Bodman-Ludwigshafen
> e-Mail:      thomas.wiest@ese-gmbh.de
> Internet:    www.ese-gmbh.de
> Phone:       +49 (0) 7773 93 88 0
> Fax:         +49 (0) 7773 93 88 18
> -------------------------------------------

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.