Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 751043

Summary: Rebase hivex in RHEL 6.3
Product: Red Hat Enterprise Linux 6 Reporter: Richard W.M. Jones <rjones>
Component: hivexAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: jzheng, leiwang, qwan
Target Milestone: rcKeywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 14:38:06 UTC Type: ---
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:    
Bug Blocks: 719879    

Description Richard W.M. Jones 2011-11-03 11:05:32 UTC
Description of problem:

We previously rebased hivex in RHEL 6.1 (bug 642631).  It is
likely to be a good idea to rebase again.

Note that the hivex library is API and ABI compatible upstream,
so there is no possibility of a regression from rebasing.

Here are some of the significant fixes we would get by rebasing:

- The syntax for deleting registry keys has been fixed so that
  standard Microsoft format .reg files work correctly (bug 737944).

- hivexml output is now safe when the hive contains XML metacharacters.

- Fix 2 x segfaults in the OCaml bindings.

- Compat fixes for new Python versions.

- Fix for Perl 5.14.

- Ruby bindings have been added.  Not clear if we would enable
  these for RHEL, but it's a possibility.

- Extra APIs (backwards compatible) for getting last modified
  timestamps of registry nodes, getting the physical offset of
  hive data.

- Add --unsafe-printable-strings option.  This is the requirement
  for libguestfs rebase (bug 719879).

- Fixed endianness bugs which affect RHEL on non-x86-like platforms.

- Fix buggy Python-on-32-bit bindings (affects RHEL).

- Fix segfault in hivex_value_multiple_strings where it could read
  uninitialized data or over the end of the file (affects RHEL).

- Handle incorrect UTF-16 data that could cause it to read an
  uninitialized byte (affects RHEL).

- hivex_value_value returns real length of buffer instead of whatever
  the file declares (affects RHEL, possible security issue).

- Fix use-after-free in hivex_close (affects RHEL).- 

(For a complete list of changes, see
http://git.annexia.org/?p=hivex.git;a=log)

Comment 1 Richard W.M. Jones 2011-11-03 14:38:06 UTC

*** This bug has been marked as a duplicate of bug 734208 ***