[Bug 229718] src/lib/libefivar/uefi-dplib.h:579: strange math ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 12 16:20:03 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229718

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: imp
Date: Thu Jul 12 16:19:17 UTC 2018
New revision: 336220
URL: https://svnweb.freebsd.org/changeset/base/336220

Log:
  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

Changes:
  head/lib/libefivar/uefi-dplib.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list