Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2010 15:36:40 GMT
From:      Erwin Rol <erwin@erwinrol.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/146588: sys/kern/kern_uuid.c has a le16dec be16dec mixup
Message-ID:  <201005141536.o4EFae1n032317@www.freebsd.org>
Resent-Message-ID: <201005141540.o4EFe3jL023629@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005141536.o4EFae1n032317>