kern/146588: sys/kern/kern_uuid.c has a le16dec be16dec mixup
Erwin Rol
erwin at erwinrol.com
Fri May 14 15:40:03 UTC 2010
>Number: 146588
>Category: kern
>Synopsis: sys/kern/kern_uuid.c has a le16dec be16dec mixup
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 14 15:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Erwin Rol
>Release: FreeBSD 8.0
>Organization:
>Environment:
Not running FreeBSD, just noticed the error
>Description:
The sys/kern/kern_uuid.c has what seems a bug in the function be_uuid_dec() it uses uuid->time_mid = le16dec(p + 4); instead of uuid->time_mid = be16dec(p + 4);
Just noticed it because I am using parts of FreeBSD in the barebox bootloader.
- Erwin
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list