On Mon, May 5, 2014 at 3:56 PM, Alexander Hall <alexan...@beard.se> wrote: > I believe a similar situation could appear with not explicitly initialized > global or static declarations, e.g. in > sbin/fsirand/fsirand.c: > > fsirand(char *device) > { > ... > static char *inodebuf;
This is safe too: C requires that pointer variables with static storage duration like this be initialized to a null pointer (C99 section 6.7.8 paragraph 10), not to a sequence of 0 bytes.