--- In [email protected], "peternilsson42" <peternilsso...@...> wrote:
>
> But to answer your question, 6.7.8p10:
> 
>   ...If an object that has static storage duration is
>   not initialized explicitly, then:
> 
>   - if it has pointer type, it is initialized to a
>     null pointer; ...

Thanks, that's clear.

> Where you might have problems is assuming that calloc()
> or memset(addr, 0, n) will yield null pointers in the
> objects they affect.

Yes, I can see that could be a problem.

Reply via email to