HomeFreeBSD

emulators/virtualbox-ose-additions: Assign default value to pointer

Description

emulators/virtualbox-ose-additions: Assign default value to pointer

In the virtualbox virtual filesystem code we ship as a patch some
code in an else block is commented out. This produces a code path
in which a pointer variable is dereferenced in an unassigned state,
causing random crashes.

Lacking a better fix, give a default value of NULL to the pointer,
which at least avoids the random pointer dereference issue.

PR: 255386
(cherry picked from commit 1b2394551c038558810be8bf396462174db334be)

Details

Provenance
Martin Ilavsky <ilavsky.martin@gmail.com>Authored on Sep 11 2021, 8:38 PM
madpilotCommitted on Sep 12 2021, 12:11 PM
Parents
R11:2a060a40d54d: databases/mariadb103-server: Security update to 10.3.31
Branches
Unknown
Tags
Unknown