]> granicus.if.org Git - sudo/commit
No need to check if fd_dst is -1 in sudoedit mode.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 19 Oct 2018 19:33:37 +0000 (13:33 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 19 Oct 2018 19:33:37 +0000 (13:33 -0600)
commit6a85992b3441d128fa01f17170a011ffe2b018d4
tree89afa334cf0a4da176bbcb072d8501f3bf455392
parent6786d53d4585b3b2cbe78b39bef54e133f352f1d
No need to check if fd_dst is -1 in sudoedit mode.
Failure to open the destination sudoedit file is fatal so there's
no need to check that fd_dst != -1 later on.  Found by PVS-Studio.
src/sesh.c