summaryrefslogtreecommitdiff
path: root/usr.bin/less/line.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-02-03 15:16:34 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-02-03 15:16:34 +0000
commit29c8160eeb3be2be18bcbc840c4128dda19d8e89 (patch)
tree0f6151a8fe3774424be46cb53d1b6b3615640da9 /usr.bin/less/line.c
parent7e871a95369ad244fffbec74bb209cd54b343e0f (diff)
When accessing the scsi link of a scsi disk, use a variable "sc_link"
everywhere. This is the first step to fix a use after free of the sc_link when the disk detaches. If a function gets a scsi transfer, the scsi link is always valid. Call this variable "link" consistently. OK krw@
Diffstat (limited to 'usr.bin/less/line.c')
0 files changed, 0 insertions, 0 deletions