diff options
author | 2015-10-05 14:58:37 +0000 | |
---|---|---|
committer | 2015-10-05 14:58:37 +0000 | |
commit | bb2b993a98b25fd5c8cd166a9fd55d7aafb0bf24 (patch) | |
tree | 0411ca16594d3f068465a8de5b6e710b8245cda4 /usr.bin/diff/diff.c | |
parent | these 3 files do not need sys/socket.h (diff) | |
download | wireguard-openbsd-bb2b993a98b25fd5c8cd166a9fd55d7aafb0bf24.tar.xz wireguard-openbsd-bb2b993a98b25fd5c8cd166a9fd55d7aafb0bf24.zip |
correct a rtget() error check
this function could only return 0 or 1, and 1 on error.
avoid to deref an uninitialised variable if rtget() return an error.
ok millert@ benno@ deraadt@
Diffstat (limited to 'usr.bin/diff/diff.c')
0 files changed, 0 insertions, 0 deletions