On May 6, 2014 1:34:01 AM CEST, Matthew Dempsky <matt...@dempsky.org> wrote:
>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.

Cool, thanks.

Reply via email to