diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-02-19 00:32:47 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-02-19 00:32:47 +0100 |
| commit | 59ba35a327d9b5a2f08bc877cb18bf6c6f942b8c (patch) | |
| tree | 31023b66a18ec1f5da0a1b7f85af13b8c37e9815 /lib/cmap | |
| parent | 5aabf85d7cc3d0bd457b9b67696737411681cc8d (diff) | |
| download | plan9front-59ba35a327d9b5a2f08bc877cb18bf6c6f942b8c.tar.xz | |
libregexp: fix assert check for compile1 instruction count
the assert fails for regcompnl(".") as TANY is compiled to
one instruction instead of two when nl == 0.
its not a problem when we end up with less instructions, so
changing the assert condition from == to <= to make sure we
didnt overrun the buffer.
--
cinap
Diffstat (limited to 'lib/cmap')
0 files changed, 0 insertions, 0 deletions
