On Fri, 15 Dec 2006, Sachin P. Sant wrote:

> Horms wrote:
> >>> I think that memory_range, base_memory_range and exclude_range all
> >>> need to be initialised to NULL here. Otherwise the checks
> >>> in cleanup_memory_ranges() may be bogus.
> >>>       
> >
> > Are globals gauranteed to be NULL? I know that in kernel land they are.
> > But I'm not sure about user-space.
> >   
> I think so :-).

Kernighan / Ritchie section 4.9 Initialization: "... In the absence of 
explicit initialization, external and static variables are guaranteed to 
be initialized to zero;..."

Thanks
Guennadi
---
Guennadi Liakhovetski
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to