Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 16:20:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229718] src/lib/libefivar/uefi-dplib.h:579: strange math ?
Message-ID:  <bug-229718-227-NBQkYasQ4H@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229718-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229718-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229718

--- Comment #2 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229718-227-NBQkYasQ4H>