svn rev #24829: trunk/src/lib/crypto/krb/
raeburn@MIT.EDU
raeburn at MIT.EDU
Sun Apr 3 18:10:03 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=24829
Commit By: raeburn
Log Message:
Don't allocate over 2MB on the stack; sparc-netbsd3.0 default stack
limit is 2MB.
Changed Files:
U trunk/src/lib/crypto/krb/t_fortuna.c
Modified: trunk/src/lib/crypto/krb/t_fortuna.c
===================================================================
--- trunk/src/lib/crypto/krb/t_fortuna.c 2011-04-03 21:54:32 UTC (rev 24828)
+++ trunk/src/lib/crypto/krb/t_fortuna.c 2011-04-03 22:10:03 UTC (rev 24829)
@@ -116,7 +116,7 @@
{
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. */
More information about the cvs-krb5
mailing list