summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-06-17 21:44:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-06-17 21:44:21 -0700
commita76c0203d7062f9433c894e529fe11c0fbfc2d7d (patch)
tree43386a39cf866ee91a588e6080a028fa8e64644a /lib.c
parenta208fafe0b0bf6dd5a78c939e55f0153f6bd6b19 (diff)
downloadtxr-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