projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a0977
)
Don't allocate over 2MB on the stack; sparc-netbsd3.0 default stack
author
Ken Raeburn
<raeburn@mit.edu>
Sun, 3 Apr 2011 22:10:03 +0000
(22:10 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sun, 3 Apr 2011 22:10:03 +0000
(22:10 +0000)
limit is 2MB.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24829
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/krb/t_fortuna.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/krb/t_fortuna.c
b/src/lib/crypto/krb/t_fortuna.c
index 561e99009816d7c275f0d1585f104529dbf0ef45..5931eb7e6b7607657cbe1591d430a69cc8f466de 100644
(file)
--- a/
src/lib/crypto/krb/t_fortuna.c
+++ b/
src/lib/crypto/krb/t_fortuna.c
@@
-116,7
+116,7
@@
main(int argc, char **argv)
{
struct fortuna_state test_state;
struct fortuna_state *st = &test_state;
- unsigned char buf[2 * 1024 * 1024];
+
static
unsigned char buf[2 * 1024 * 1024];
unsigned int i;
/* Seed the generator with a known state. */