diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2019-11-08 07:26:39 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2019-11-08 07:26:39 +0000 |
commit | 3e2c63c3eb1db0b2aedfe16c9b4b54e40ef67729 (patch) | |
tree | 504dac790f8c4d2ead529f56c76be5ff1d8e6c18 /usr.sbin/vmd/pci.c | |
parent | cc9483a80803855ffa3376b13ebbd8b6e388cee1 (diff) |
fix bogus pointer/double free crash, when /etc/printcap db file is not present,
by adding a missing check for the return value -1 on both cgetfirst(3) and
cgetnext(3)
OK millert@ deraadt@
Diffstat (limited to 'usr.sbin/vmd/pci.c')
0 files changed, 0 insertions, 0 deletions