VirtualBox

#21394 closed defect (fixed)

IGuestSession::DirectoryCreateTemp does not work with mode => fixed in SVN/next 7.0.x maintenance

Reported by: ReseT Owned by: pentagonik
Component: other Version: VirtualBox-7.0.4
Keywords: Cc:
Guest type: other Host type: other

Description

The function have incorrect mode parameter verification.

if (RT_UNLIKELY(!(aMode & ~07777)))

return setError(E_INVALIDARG, tr("Mode invalid ..."));

this check returns always true for valid modes and error is reported.

Change History (4)

comment:1 by pentagonik, 23 months ago

Thanks for the report -- I found and fixed the issue. The bugfix will be available in the next upcoming maintenance version.

comment:2 by pentagonik, 23 months ago

Owner: set to pentagonik
Status: newassigned

comment:3 by aeichner, 23 months ago

Summary: IGuestSession::DirectoryCreateTemp does not work with modeIGuestSession::DirectoryCreateTemp does not work with mode => fixed in SVN/next 7.0.x maintenance

comment:4 by galitsyn, 23 months ago

Resolution: fixed
Status: assignedclosed

Hello,

We just released VirtualBox 7.0.6. This issue should be fixed in this version. You can download it from https://www.virtualbox.org/wiki/Downloads.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette