diff mbox series

crypto/pcrypt_aead01: add back deleted file comment

Message ID 20190701213316.120357-1-ebiggers@kernel.org
State Accepted
Headers show
Series crypto/pcrypt_aead01: add back deleted file comment | expand

Commit Message

Eric Biggers July 1, 2019, 9:33 p.m. UTC
From: Eric Biggers <ebiggers@google.com>

Add back some useful text that was accidentally deleted by commit
acc16bcbf12a ("c: Replace GPL verbose text by SPDX license identifier").

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 testcases/kernel/crypto/pcrypt_aead01.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Cyril Hrubis July 2, 2019, 9:49 a.m. UTC | #1
Hi!
Thanks for catching this, applied.
Petr Vorel July 2, 2019, 6:56 p.m. UTC | #2
Hi Eric,

> Hi!
> Thanks for catching this, applied.

Sorry for removing it, thanks for a fix!

Kind regards,
Petr
diff mbox series

Patch

diff --git a/testcases/kernel/crypto/pcrypt_aead01.c b/testcases/kernel/crypto/pcrypt_aead01.c
index 5d9a123c7..d9c27f69d 100644
--- a/testcases/kernel/crypto/pcrypt_aead01.c
+++ b/testcases/kernel/crypto/pcrypt_aead01.c
@@ -6,6 +6,14 @@ 
  *
  * Originally found by syzkaller:
  * https://groups.google.com/forum/#!topic/syzkaller-bugs/NKn_ivoPOpk
+ *
+ * Test for CVE-2017-5754 - pcrypt mishandles freeing instances.
+ *
+ * The test works by adding and then removing pcrypt-AEAD instances.
+ * See commit d76c68109f37 crypto: pcrypt - fix freeing pcrypt instances.
+ *
+ * If the bug is present then this will probably crash the kernel, but also
+ * sometimes the test simply times out.
  */
 
 #include <errno.h>