public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] DRBG: simplify ordering of linked list in drbg_ctr_df
@ 2014-06-23  7:10 Stephan Mueller
  2014-06-23  7:11 ` Stephan Mueller
  0 siblings, 1 reply; 5+ messages in thread
From: Stephan Mueller @ 2014-06-23  7:10 UTC (permalink / raw)
  To: kbuild test robot, Herbert Xu
  Cc: kbuild, linux-kernel, Dan Carpenter, Rafael Aquini

This patch superseeds and replaces the initial fix submitted with [1].
After careful analysis of the code, the anticipated NULL pointer
deference is caught in drbg_ctr_update which only invokes drbg_ctr_df
when addtl is not NULL.

This patch is tested with CAVS testing and the test set provided in [2].

[1] https://lkml.org/lkml/2014/6/21/70
[2] http://www.chronox.de/drbg.html

Stephan Mueller (1):
  DRBG: simplify ordering of linked list in drbg_ctr_df

 crypto/drbg.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

-- 
1.9.3



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

end of thread, other threads:[~2014-06-26 11:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23  7:10 [PATCH v2] DRBG: simplify ordering of linked list in drbg_ctr_df Stephan Mueller
2014-06-23  7:11 ` Stephan Mueller
2014-06-25  9:08   ` Herbert Xu
2014-06-26  6:45     ` Herbert Xu
2014-06-26 11:33       ` Stephan Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox