NetBSD Problem Report #43993

From martin@duskware.de  Fri Oct 22 09:58:42 2010
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7331F63B906
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Oct 2010 09:58:42 +0000 (UTC)
Message-Id: <20101022095842.1516663B100@mail.netbsd.org>
Date: Fri, 22 Oct 2010 09:58:41 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: uninitialized variable in opencrypto
X-Send-Pr-Version: 3.95

>Number:         43993
>Category:       kern
>Synopsis:       uninitialized variable in opencrypto
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 10:00:01 +0000 2010
>Originator:     Martin Husemann
>Release:        NetBSD 5.1_RC4
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-porter.duskware.de 5.1_RC4 NetBSD 5.1_RC4 (PORTER) #21: Tue Sep 21 16:32:36 CEST 2010 martin@night-porter.duskware.de:/usr/src-5/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

With higher optimization flags, gcc warns:

cc1: warnings being treated as errors
../../../../opencrypto/ocryptodev.c: In function 'ocryptof_ioctl':
../../../../opencrypto/ocryptodev.c:257: warning: 'os_op.ses' may be used uninitialized in this function

and it looks like this is a bug indeed.

>How-To-Repeat:
s/a

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.