diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-11 09:47:44 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-12 16:36:52 +0200 |
commit | 3590c55b69e2c6337ffa9445b14513686e5a99bc (patch) | |
tree | 84c1ee8402953ccbad9359499492b224f1a04818 /Userland/Libraries | |
parent | 7691c7abcb99daf623930774388b917385ea7324 (diff) | |
download | serenity-3590c55b69e2c6337ffa9445b14513686e5a99bc.zip |
Utilities: Fix incorrect error handling in traceroute
The result will be -1 on error, and the error value will be stored in
errno. PVS-Studio found this because result it saw result < 0 and new
EFAULT is < 0, so this could never be true.
Diffstat (limited to 'Userland/Libraries')
0 files changed, 0 insertions, 0 deletions