diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-09-07 19:08:33 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-09-07 19:08:33 +0000 |
commit | 45e6991aad5b4b65cdeb797fa723b768a5a51708 (patch) | |
tree | 77420a6c63ae4baa7d78f96a3bbe70df333b9d03 /regress | |
parent | e58a768f13ea703f65242c56b4359f666ad040e9 (diff) |
Keep histptr inside of the allocated history array
histptr == history -1 means that the history is empty, but the behavior
is then undefined. Allocate an extra array entry to work around this.
Input & ok tb@
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions