From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 17 01:20:10 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6D5516A41F for ; Sat, 17 Dec 2005 01:20:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 746E843D66 for ; Sat, 17 Dec 2005 01:20:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBH1K3Bt001564 for ; Sat, 17 Dec 2005 01:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBH1K3pl001563; Sat, 17 Dec 2005 01:20:03 GMT (envelope-from gnats) Resent-Date: Sat, 17 Dec 2005 01:20:03 GMT Resent-Message-Id: <200512170120.jBH1K3pl001563@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, Björn König Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE28616A41F for ; Sat, 17 Dec 2005 01:17:20 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7402D43D49 for ; Sat, 17 Dec 2005 01:17:20 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-231.dynamic.qsc.de [212.202.39.231]) by efacilitas.de (Postfix) with ESMTP id 8434C4CBAF for ; Sat, 17 Dec 2005 02:25:40 +0100 (CET) Received: from hoppel.local (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with SMTP id 301675089C for ; Sat, 17 Dec 2005 02:16:06 +0100 (CET) Received: by hoppel.local (sSMTP sendmail emulation); Sat, 17 Dec 2005 02:16:06 +0100 Message-Id: <20051217011606.301675089C@eurystheus.local> Date: Sat, 17 Dec 2005 02:16:06 +0100 From: "Björn König" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/90521: UDF driver might calculate a wrong descriptor tag checksum X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Björn König List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 01:20:10 -0000 >Number: 90521 >Category: kern >Synopsis: UDF driver might calculate a wrong descriptor tag checksum >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: Sat Dec 17 01:20:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Björn König >Release: FreeBSD 6.0-RELEASE i386 >Organization: >Environment: System: FreeBSD hoppel.local 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Sun Nov 27 19:50:05 CET 2005 bkoenig@hoppel.local:/home/bkoenig/obj/home/bkoenig/devel/freebsd/RELENG_6_0/src/sys/HOPPEL i386 >Description: According to ECMA-167 7.2.3 the bytes 0-3 and 5-15 should be used to calculate the checksum of a descriptor tag. Actually only the bytes 0-3 and 5-14 will be used. >How-To-Repeat: >Fix: --- udf_vfsops.c-2005121701.diff begins here --- --- src/sys/fs/udf/udf_vfsops.c.orig Sat Dec 17 01:51:41 2005 +++ src/sys/fs/udf/udf_vfsops.c Sat Nov 26 20:15:50 2005 @@ -296,7 +296,7 @@ if (tag->id != id) return (EINVAL); - for (i = 0; i < 15; i++) + for (i = 0; i < 16; i++) cksum = cksum + itag[i]; cksum = cksum - itag[4]; --- udf_vfsops.c-2005121701.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: