Sebastian Lackner : server: Fix crash when calling SetNamedPipeHandleState on partially closed pipe.