VirtualBox

Opened 7 years ago

Closed 7 years ago

#16257 closed defect (invalid)

nullptr dereference in cmdline utility for snapshot .. restorecurrent on a VM without snapshots

Reported by: jbr Owned by:
Component: other Version: VirtualBox 4.3.36
Keywords: Cc:
Guest type: other Host type: other

Description

As the title says! I created an empty VM without anything inside it (not booted yet, either) for unit testing purposes and found the following:

(cuckoo) ➜ cuckoo git:(package) ✗ vboxmanage -v 4.3.40r110317 (cuckoo) ➜ cuckoo git:(package) ✗ vboxmanage snapshot dummy-no-os restorecurrent [1] 2615 segmentation fault (core dumped) vboxmanage snapshot dummy-no-os restorecurrent

I think this should be enough information, but let me know if you need more!

Change History (2)

comment:1 by jbr, 7 years ago

Sorry, the bash output is supposed to be as follows.

(cuckoo) ➜  cuckoo git:(package) ✗ vboxmanage -v
4.3.40r110317
(cuckoo) ➜ cuckoo git:(package) ✗ vboxmanage snapshot dummy-no-os restorecurrent
[1] 2615 segmentation fault (core dumped) vboxmanage snapshot dummy-no-os restorecurrent
Version 1, edited 7 years ago by jbr (previous) (next) (diff)

comment:2 by Klaus Espenlaub, 7 years ago

Resolution: invalid
Status: newclosed
Version: VirtualBox 5.1.10VirtualBox 4.3.36

The only proper fix for this issue is upgrading to a supported VirtualBox version (i.e. at least version 5). The bug is fixed there.

VirtualBox 4.x (including 4.3) is unsupported for almost a full year, so it's not reasonable to spend time on it any more.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use