libnfs/lib
Kevin Vigor 4cd723fb7a Fix crash on timed out mount-nfs calls.
If wait_for_nfs_reply() times out, nfs_mount can return with RPCs
still pending. In that case when the RPCs complete (perhaps because
someone calls destroy_context()), the callbacks run, and private_data
is pointing at what was the stack-allocated cb_data structure. Stack
smashing and segfaulty fun ensue.

Fix by ensuring no RPCs are pending before returning from nfs_mount()
by disconnecting on errors.
2017-05-11 15:19:01 -06:00
..
Makefile.am Add NFSv4 protocol definitions 2016-12-17 10:44:12 -08:00
init.c Merge branch 'master' into issues-199 2017-05-09 14:49:58 -07:00
libnfs-sync.c Fix crash on timed out mount-nfs calls. 2017-05-11 15:19:01 -06:00
libnfs-win32.def We do not need an async version of readlink2 2017-05-09 14:56:44 -07:00
libnfs-zdr.c Make zdr_malloc() visible outside of libnfs-zdr.c 2016-12-17 10:44:12 -08:00
libnfs.c Merge pull request #211 from earlchew/issues-210 2017-05-09 22:26:23 -07:00
pdu.c Add support for rpc timeouts to the async interface 2017-05-08 18:38:42 -07:00
socket.c Add support for rpc timeouts to the async interface 2017-05-08 18:38:42 -07:00