Commit 1da7bc7e authored by Philipp Stephani's avatar Philipp Stephani
Browse files

Fix off-by-one error

* test/data/emacs-module/mod-test.c (emacs_module_init): Fix
off-by-one error.
parent ab2116c9
......@@ -269,7 +269,7 @@ emacs_module_init (struct emacs_runtime *ert)
emacs_env *env = ert->get_environment (ert);
if (env->size <= sizeof *env)
if (env->size < sizeof *env)
return 2;
#define DEFUN(lsym, csym, amin, amax, doc, data) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment