NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/43993: uninitialized variable in opencrypto



>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@localhost:/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



Home | Main Index | Thread Index | Old Index