| Index: src/shared/Communication.cpp | 
| =================================================================== | 
| --- a/src/shared/Communication.cpp | 
| +++ b/src/shared/Communication.cpp | 
| @@ -211,7 +211,7 @@ | 
| if (mode == MODE_CREATE) | 
| { | 
| SECURITY_ATTRIBUTES securityAttributes = {}; | 
| -    securityAttributes.nLength = sizeof(securityAttributes); | 
| +    securityAttributes.nLength = sizeof(SECURITY_ATTRIBUTES); | 
| securityAttributes.bInheritHandle = TRUE; | 
|  | 
| std::tr1::shared_ptr<SECURITY_DESCRIPTOR> sharedSecurityDescriptor; // Just to simplify cleanup | 
| @@ -265,7 +265,7 @@ | 
| Communication::InputBuffer Communication::Pipe::ReadMessage() | 
| { | 
| std::stringstream stream; | 
| -  std::unique_ptr<char[]> buffer(new char[bufferSize]); | 
| +  std::auto_ptr<char> buffer(new char[bufferSize]); | 
| bool doneReading = false; | 
| while (!doneReading) | 
| { | 
|  |