HomeFreeBSD

Fix an obvious 'is odd' check.

Description

Fix an obvious 'is odd' check.

len % 1 is always true. Fix StrHexToBytes to do a proper odd length
check. This was only called by DevPathFromTextGenericPath,
ConvertFromTextVendor and DevPathFromTextMAC, which we've not had
a need to actually use just yet.

Submitted by: David Binderman
PR: 229718

Details

Provenance
impAuthored on
Parents
rS336219: Use correct size when we are allocating array for skipto index.
Branches
Unknown
Tags
Unknown