lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 23 Feb 2007 17:43:37 -0800
From:	Pete Zaitcev <zaitcev@...hat.com>
To:	Cyrill Gorcunov <gorcunov@...il.com>
Cc:	linux-kernel-list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] USB Elan FTDI: check for workqueue creation

On Fri, 23 Feb 2007 11:10:05 +0300, Cyrill Gorcunov <gorcunov@...il.com> wrote:

> I may be wrong, but a lot of the kernel code have static pointers
> initialized to NULL with explicit manner... More over I always thought
> that _static_ is not mean _initialized to zero_. I think _static_ is
> just the method to _hide_ variables in the file (as ANSI C describes).
> Am I wrong?

I'm afraid you are wrong here. Static variables are initialized on
zero in C, although I cannot provide you with a relevant quote from
a standard. Just trust me for now, and resubmit the patch without
the first segment... :-)  You're clearly fixing a bug in it.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ