projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c04747
)
Fix buffer overflow.
author
Ben Laurie
<ben@openssl.org>
Thu, 15 Nov 2007 13:33:47 +0000
(13:33 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 15 Nov 2007 13:33:47 +0000
(13:33 +0000)
apps/speed.c
patch
|
blob
|
history
diff --git
a/apps/speed.c
b/apps/speed.c
index 85f559ed81e45dca03443bfffd6d5f72cddfc36b..8a1974f5fe9b89519cc3a5d673fe03cd34ba7d32 100644
(file)
--- a/
apps/speed.c
+++ b/
apps/speed.c
@@
-577,7
+577,7
@@
int MAIN(int argc, char **argv)
#define MAX_BLOCK_SIZE 64
#endif
unsigned char DES_iv[8];
- unsigned char iv[MAX_BLOCK_SIZE/8];
+ unsigned char iv[
2*
MAX_BLOCK_SIZE/8];
#ifndef OPENSSL_NO_DES
DES_cblock *buf_as_des_cblock = NULL;
static DES_cblock key ={0x12,0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0};