2 Commits

2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>libaaruformat</id>
<version>1.0.0-alpha.6</version>
<version>1.0.0-alpha.7</version>
<description>Library for management of AaruFormat images.</description>
<authors>claunia</authors>
<projectUrl>https://github.com/aaru-dps/libaaruformat</projectUrl>

View File

@@ -3458,7 +3458,7 @@ static void write_dumphw_block(aaruformat_context *ctx)
if(buffer == NULL) return;
// Start to iterate and copy the data
size_t offset = 0;
size_t offset = sizeof(DumpHardwareHeader);
for(int i = 0; i < ctx->dump_hardware_header.entries; i++)
{
size_t entry_size = sizeof(DumpHardwareEntry) +