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
| ||
|
Date: Fri, 16 Mar 2018 22:40:32 +0300 From: Alexey Dobriyan <adobriyan@...il.com> To: kieran.bingham@...asonboard.com Cc: rasmus.villemoes@...vas.dk, linux-kernel@...r.kernel.org Subject: Re: [PATCH][RFC] kernel.h: provide array iterator Proper form for iteration over an array is below: int a[] = {1, 2, 3, 5}; for (int x: a) { ... } Your macro forces an iterator to be pointer which is uh-oh.