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
The NetBSD Foundation, Inc.
System: NetBSD 5.1_RC4 NetBSD 5.1_RC4 (PORTER) #21: 
Tue Sep 21 16:32:36 CEST 2010
Architecture: i386
Machine: i386

With higher optimization flags, gcc warns:

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

and it looks like this is a bug indeed.



Home | Main Index | Thread Index | Old Index