[Bug 6050] New: Possible use of uninitialized value in __syscall_error.c
bugzilla at busybox.net
bugzilla at busybox.net
Sun Mar 3 03:46:36 UTC 2013
https://bugs.busybox.net/show_bug.cgi?id=6050
Summary: Possible use of uninitialized value in
__syscall_error.c
Product: uClibc
Version: 0.9.33.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at uclibc.org
ReportedBy: noloader at gmail.com
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
CC=clang
CC libc/sysdeps/linux/x86_64/__syscall_error.os
libc/sysdeps/linux/x86_64/__syscall_error.c:19:14: warning: variable 'err_no'
is
uninitialized when used here [-Wuninitialized]
__set_errno(err_no);
~~~~~~~~~~~~^~~~~~~
./include/errno.h:79:36: note: expanded from macro '__set_errno'
#define __set_errno(val) (errno = (val))
^
libc/sysdeps/linux/x86_64/__syscall_error.c:16:21: note: initialize the
variable
'err_no' to silence this warning
register int err_no __asm__ ("%rcx");
^
= 0
1 warning generated.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list