diff options
author | 2017-09-07 11:35:34 +0000 | |
---|---|---|
committer | 2017-09-07 11:35:34 +0000 | |
commit | 4d661fe08286eae646fd95cfaabd9d2efa55ef0a (patch) | |
tree | fd72fa15d4de7ee2b19ac42cfe9cdfdd72f51da4 /sys/dev/usb/xhci.c | |
parent | In elf_load_file() to not call free(9) with an uninitialized size (diff) | |
download | wireguard-openbsd-4d661fe08286eae646fd95cfaabd9d2efa55ef0a.tar.xz wireguard-openbsd-4d661fe08286eae646fd95cfaabd9d2efa55ef0a.zip |
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@
Diffstat (limited to 'sys/dev/usb/xhci.c')
0 files changed, 0 insertions, 0 deletions