We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05f7393 commit 9f020b1Copy full SHA for 9f020b1
1 file changed
src/encauth/eax/eax_decrypt_verify_memory.c
@@ -55,6 +55,9 @@ int eax_decrypt_verify_memory(int cipher,
55
/* default to zero */
56
*stat = 0;
57
58
+ /* limit taglen */
59
+ taglen = MIN(taglen, MAXBLOCKSIZE);
60
+
61
/* allocate ram */
62
buf = XMALLOC(taglen);
63
eax = XMALLOC(sizeof(*eax));
0 commit comments