Bug 982058

Summary: hivex-value-utf8 failed "hivex: conversion of registry value to UTF8 failed"
Product: Red Hat Enterprise Linux 7 Reporter: bfan
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: leiwang, qguan, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 982057 Environment:
Last Closed: 2013-07-18 17:20:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 982057    
Bug Blocks:    

Description bfan 2013-07-08 02:56:21 UTC
+++ This bug was initially created as a clone of Bug #982057 +++

Description of problem:
Use 'hivex-node-set-value' to set value with type=1 (type=1, A Windows string (encoding is unknown, but often UTF16-LE)), and read that value by hivex-value-utf8, command failed.

I check the value in a running windows guest, it's an unreadable code. may hivex-node-set-value does not work well.


Version-Release number of selected component (if applicable):
libguestfs-1.20.9-6.el6.x86_64


How reproducible:
100%


Steps to Reproduce:
1. prepare a windows guest, Win2003-32 bit
2. use hivex-node-set-value to set a value with type=1
3. use "hivex-value-utf8" to read the value


Actual results:
hivex: conversion of registry value to UTF8 failed


Expected results:
get the correct result


Additional info:
same issue in rhel7, libguestfs-1.22.2-1.el7.x86_64

Comment 1 Richard W.M. Jones 2013-07-18 17:20:08 UTC
Closed, see:
https://bugzilla.redhat.com/show_bug.cgi?id=982057#c3