Closed uckelman closed 8 years ago
Fixed in PR #6.
Any indication in the descriptor file that might hint to the creating tool?
Any indication in the descriptor file that might hint to the creating tool?
I've been told it was written by VirtualBox.
Yes, it definitely could have come from VirtualBox. The oddly-cased header is right there in the VirtualBox source: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Storage/VMDK.cpp#L1994
There could be quite a lot of these in the wild.
Thanks, useful info
I've come across some VMDKs which have
# The disk Data Base
as a descriptor file section header instead of# The Disk Data Base
as specified in the spec. I don't know what's producing these, but as they are otherwise conformant images and the section headers are strictly speaking just comments, it would be nice if libvmdk would read them.The only required change to libvmdk is to use
libcstring_narrow_string_compare_no_case
insteadof
libcstring_narrow_string_compare` when checking the section headings. Patch to follow.