This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 crash fix


> > This is not a complete fix. jffs2_iget can return 0 when malloc
> > fails. For this to work correctly you need to modify jffs2_iget so
> > that it returns ERR_PTR(-ENOMEM) when out of memory.
> 
> Is this a trivial fix, or will it have ramifications for the rest of the
> eCos JFFS2 code?

It looks trivial.

Please let us have a new patch when you have some spare time.

        Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]