libyal / libvmdk

Library and tools to access the VMware Virtual Disk (VMDK) format
GNU Lesser General Public License v3.0
163 stars 66 forks source link

Case-insensitive descriptor section header parsing #6

Closed uckelman closed 8 years ago

uckelman commented 8 years ago

Use libcstring_narrow_string_compare_no_case instead of libcstring_narrow_string_compare for matching descriptor file section headers. Some VMDKs in the wild have variant capitalization in these headers.

Fixes Issue #5.

joachimmetz commented 8 years ago

Thanks for the PR, I'll have a look at the changes, merge in the result and update the documentation.

joachimmetz commented 8 years ago

Patch merged in https://github.com/libyal/libvmdk/commit/5ce035a15dc2c84eb74eb9eed6e383f62901fe82

I've changed it to be case insensitive for the entire descriptor file.