diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-10 00:02:34 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-10 00:02:34 -0800 |
commit | abb856cd66e00d739e4efb1930b5c168eaf48029 (patch) | |
tree | 7c2ec035bff2764518eceeba11012e250fd5ca42 /src/scheme/ao_scheme_eval.c | |
parent | 17fe6de833cccb6d43d0ac0ed84a4faaa3463a09 (diff) |
altos/scheme: Avoid crashing with non-list in length
Use ao_scheme_cons_cdr to fetch the next list element as that returns
NULL for non-cons elements.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme_eval.c')
0 files changed, 0 insertions, 0 deletions