Fix crash when accessing physical CD/DVD

PR:		248333
Reported by:	mfv@bway.net
Approved by:	koobs (vbox)
MFH:		2020Q3
This commit is contained in:
Ganael LAPLANCHE 2020-09-21 10:32:30 +00:00
parent 1aade6c47d
commit faf424550e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549433
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.2.44
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}

View File

@ -0,0 +1,11 @@
--- src/VBox/Devices/Storage/DrvHostBase-freebsd.cpp 2020-09-17 20:17:20 UTC
+++ src/VBox/Devices/Storage/DrvHostBase-freebsd.cpp
@@ -149,6 +149,8 @@
else
rc = RTErrConvertFromErrno(errno);
}
+
+ return rc;
}