]> git.ipfire.org Git - oddments/fireinfo.git/commit
virt: Fix off-by-one error when detecting hypervisor master
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Jul 2023 09:08:48 +0000 (09:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Jul 2023 09:35:16 +0000 (09:35 +0000)
commite3e68b9baa9723916b1999394432e9ad260cfaa2
treef1874790467006b67c7d7cf69d25a380b561ae73
parent4d74466456c0824663e10881f9deabcd1f4d32c3
virt: Fix off-by-one error when detecting hypervisor

Reported-by: Mauro Condarelli <mc5686@mclink.it>
Fixes: #13155 - _fireinfo.detect_hypervisor() rises Segmentation fault
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/_fireinfo/fireinfo.c