diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-17 21:44:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-17 21:44:21 -0700 |
commit | a76c0203d7062f9433c894e529fe11c0fbfc2d7d (patch) | |
tree | 43386a39cf866ee91a588e6080a028fa8e64644a /lib.c | |
parent | a208fafe0b0bf6dd5a78c939e55f0153f6bd6b19 (diff) | |
download | txr-a76c0203d7062f9433c894e529fe11c0fbfc2d7d.tar.gz txr-a76c0203d7062f9433c894e529fe11c0fbfc2d7d.tar.bz2 txr-a76c0203d7062f9433c894e529fe11c0fbfc2d7d.zip |
Bugfix: unsafe num_fast in repeat/rep :counter code.
* match.c (do_output_line): Use num(i) rather than
num_fast(i), because i is not guaranteed to be in
the fixnum range. It's less than c_num(max_depth),
which could be a bignum that is in the cnum range.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions