e9a5bb18d6
Steel Bank Common Lisp (SBCL) is an open source (free software) compiler and runtime system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, a debugger, and many extensions. From Josh Elsasser (MAINTAINER) ok kili@, jasper@
13 lines
726 B
C
13 lines
726 B
C
$OpenBSD: patch-src_runtime_runtime.c,v 1.1.1.1 2008/04/14 12:29:40 deanna Exp $
|
|
--- src/runtime/runtime.c.orig Thu Oct 25 21:33:34 2007
|
|
+++ src/runtime/runtime.c Thu Apr 10 14:13:34 2008
|
|
@@ -279,6 +279,8 @@ main(int argc, char *argv[], char *envp[])
|
|
dynamic_space_size = strtol(argv[argi++], 0, 0) << 20;
|
|
if (errno)
|
|
lose("argument to --dynamic-space-size is not a number");
|
|
+ if (dynamic_space_size > DEFAULT_DYNAMIC_SPACE_SIZE)
|
|
+ lose("argument to --dynamic-space-size is too large");
|
|
} else if (0 == strcmp(arg, "--debug-environment")) {
|
|
int n = 0;
|
|
printf("; Commandline arguments:\n");
|