[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [file PATCH] Properly detect .vdi (VirtualBox disk image) files



On Nov 22,  8:54am, rjones redhat com ("Richard W.M. Jones") wrote:
-- Subject: [file PATCH] Properly detect .vdi (VirtualBox disk image) files

| The current test for .vdi files is incorrect.  It tries to detect the
| string "<<< Sun xVM VirtualBox Disk Image >>>".  However this string
| is just free text and .vdi files often contain different strings (ref: [1]).
| 
| The correct test in this patch looks for the magic number at offset
| 0x40 in the file (ref: [2]).

Fixed, thanks!

christos


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]