All of lore.kernel.org
 help / color / mirror / Atom feed
* Is kernel optimized with dead store removal?
@ 2010-02-24 22:13 Roel Kluin
  2010-02-25 11:06 ` Mikael Pettersson
  0 siblings, 1 reply; 6+ messages in thread
From: Roel Kluin @ 2010-02-24 22:13 UTC (permalink / raw)
  To: lkml, Herbert Xu, David S. Miller, linux-crypto

According to http://cwe.mitre.org/data/slices/2000.html#14 due to optimization
A call to memset() can be removed as a dead store when the buffer is not used
after its value is overwritten. Does this optimization also occur during
compilation of the Linux kernel? Then I think I may have found some
vulnerabilities. One is sha1_update() where memset(temp, 0, sizeof(temp)); may
be removed.

Roel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-25 23:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-24 22:13 Is kernel optimized with dead store removal? Roel Kluin
2010-02-25 11:06 ` Mikael Pettersson
2010-02-25 15:14   ` Roel Kluin
2010-02-25 16:06     ` Mikael Pettersson
2010-02-25 18:24       ` Stefan Richter
2010-02-25 23:58       ` Henrique de Moraes Holschuh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.