summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-09-07 19:08:33 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-09-07 19:08:33 +0000
commit45e6991aad5b4b65cdeb797fa723b768a5a51708 (patch)
tree77420a6c63ae4baa7d78f96a3bbe70df333b9d03 /regress
parente58a768f13ea703f65242c56b4359f666ad040e9 (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