virtualbox+guest: Update to new version 4.3.28.
Contains quite a lot of fixes, so for information and details about them, please have a look at https://www.virtualbox.org/wiki/Changelog. We also needed to drop the hunk about NATNetworkServiceRunner.cpp in the hardened.patch, because the file was unused and thus has been removed from upstream in r54821: https://www.virtualbox.org/changeset?reponame=vbox&new=54821 Tested successfully against nixos/tests/virtualbox.nix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
@@ -100,19 +100,6 @@ index 95dc9a7..39170bc 100644
|
||||
size_t cchBufLeft = strlen(szPath);
|
||||
szPath[cchBufLeft++] = RTPATH_DELIMITER;
|
||||
szPath[cchBufLeft] = 0;
|
||||
diff --git a/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp b/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp
|
||||
index 090018e..7dcfc7a 100644
|
||||
--- a/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp
|
||||
+++ b/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp
|
||||
@@ -75,7 +75,7 @@ int NATNetworkServiceRunner::start()
|
||||
|
||||
/* get the path to the executable */
|
||||
char exePathBuf[RTPATH_MAX];
|
||||
- const char *exePath = RTProcGetExecutablePath(exePathBuf, RTPATH_MAX);
|
||||
+ const char *exePath = RTProcGetSuidPath(exePathBuf, RTPATH_MAX);
|
||||
char *substrSl = strrchr(exePathBuf, '/');
|
||||
char *substrBs = strrchr(exePathBuf, '\\');
|
||||
char *suffix = substrSl ? substrSl : substrBs;
|
||||
diff --git a/src/VBox/Main/src-server/NetworkServiceRunner.cpp b/src/VBox/Main/src-server/NetworkServiceRunner.cpp
|
||||
index e9e1ba62..4d1c1e1 100644
|
||||
--- a/src/VBox/Main/src-server/NetworkServiceRunner.cpp
|
||||
|
||||
Reference in New Issue
Block a user