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

Details

Provenance
Martin Ilavsky <ilavsky.martin@gmail.com>Authored on Sep 11 2021, 8:38 PM
madpilotCommitted on Sep 11 2021, 8:38 PM
Parents
R11:67b637822a56: textproc/py-markupsafe: Update to 2.0.1
Branches
Unknown
Tags
Unknown