Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The adjustment of parse_error introduced a possible stack buffer overflow if lesskey filename is long enough. How to reproduce: KEYFILE=$(python -c 'print("/tmp/"+4*(255*"a"+"/")+"lesskey.txt")') install -d $(dirname KEYFILE) echo "#version a" > $KEYFILE less --lesskey-src=$KEYFILE -f /dev/null
- Loading branch information