... | ... |
@@ -3213,7 +3213,7 @@ int cli_peheader(fmap_t *map, struct cli_exe_info *peinfo) |
3213 | 3213 |
if(k) { |
3214 | 3214 |
v = cli_utf16toascii((const char*)vptr + s_key_sz + 6, s_val_sz); |
3215 | 3215 |
if(v) { |
3216 |
- s = cli_str2hex((const char*)vptr + 6, s_key_sz + s_val_sz - 6); |
|
3216 |
+ s = cli_str2hex((const char*)vptr + 6, s_key_sz + s_val_sz); |
|
3217 | 3217 |
if(s) { |
3218 | 3218 |
cli_dbgmsg("VersionInfo (%x): '%s'='%s' - VI:%s\n", (uint32_t)(vptr - baseptr + 6), k, v, s); |
3219 | 3219 |
free(s); |