Commit 5d5d959d authored by Paul Eggert's avatar Paul Eggert
Browse files

* eval.c (Fbacktrace_frame): Don't assume nframes fits in int.

parent a3eed478
2011-03-27 Paul Eggert <>
* eval.c (Fbacktrace): Don't assume nargs fits in int.
(Fbacktrace_frame): Don't assume nframes fits in int.
* syntax.c (scan_sexps_forward): Avoid pointer wraparound.
......@@ -3365,7 +3365,7 @@ If NFRAMES is more than the number of frames, the value is nil. */)
(Lisp_Object nframes)
register struct backtrace *backlist = backtrace_list;
register int i;
register EMACS_INT i;
Lisp_Object tem;
CHECK_NATNUM (nframes);
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