summaryrefslogtreecommitdiff
path: root/usr.bin/last
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2023-08-13 09:48:28 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2023-08-13 09:48:28 +0000
commit629f08239188f31271860d30a7896862efecc33e (patch)
treefd17ca05424ccc7b408247291f44352b13137223 /usr.bin/last
parent0fd75a66226d20b255e371aeb2f61d077776a60f (diff)
Prevent user-after/double free in map insertion.
Freeing arguments tied to statements is not an option because rules are parsed multiple times. Always make a copy of them if they are assigned to a key in a map.
Diffstat (limited to 'usr.bin/last')
0 files changed, 0 insertions, 0 deletions