CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/09/07 05:35:34
Modified files:
sys/nfs : nfs_socket.c
Log message:
nfs_connect() returns EINVAL at the beginning if nm_sotype is
invalid. But the compiler cannot know whether it has changed in
the meantime, so in the else case a bunch of variables would not
be initialized. Add a panic() there to change the compiler's
assumptions, the code should not be reached anyway.
found by clang -Wuninitialized; OK deraadt@
