From owner-freebsd-bugs@FreeBSD.ORG Fri May 14 15:40:03 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B773C106567B for ; Fri, 14 May 2010 15:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7C70A8FC13 for ; Fri, 14 May 2010 15:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4EFe3l6023630 for ; Fri, 14 May 2010 15:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4EFe3jL023629; Fri, 14 May 2010 15:40:03 GMT (envelope-from gnats) Resent-Date: Fri, 14 May 2010 15:40:03 GMT Resent-Message-Id: <201005141540.o4EFe3jL023629@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erwin Rol Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8400B106566C for ; Fri, 14 May 2010 15:36:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7688FC1B for ; Fri, 14 May 2010 15:36:41 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4EFaef0032318 for ; Fri, 14 May 2010 15:36:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4EFae1n032317; Fri, 14 May 2010 15:36:40 GMT (envelope-from nobody) Message-Id: <201005141536.o4EFae1n032317@www.freebsd.org> Date: Fri, 14 May 2010 15:36:40 GMT From: Erwin Rol To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/146588: sys/kern/kern_uuid.c has a le16dec be16dec mixup X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2010 15:40:03 -0000 >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: