Continued development of AuthenticationToken Validation Service.
This commit is contained in:
		@@ -291,10 +291,12 @@ SChannel::connectionThread(
 | 
			
		||||
 | 
			
		||||
                        DbgTrace(2, "SChannel::connectionThread- Processing Request Data Packet, Obj = %08X\n", pSChannel);
 | 
			
		||||
 | 
			
		||||
                        // Allocate a buffer big enough to receive the payload
 | 
			
		||||
                        pRecvBuff = new char[payloadLength];
 | 
			
		||||
                        // Allocate a buffer big enough to receive the payload. Allow space to NULL terminate.
 | 
			
		||||
                        pRecvBuff = new char[payloadLength + 1];
 | 
			
		||||
                        if (pRecvBuff != NULL)
 | 
			
		||||
                        {
 | 
			
		||||
                           pRecvBuff[payloadLength] = '\0';
 | 
			
		||||
 | 
			
		||||
                           // Buffer allocated, receive the Req payload.
 | 
			
		||||
                           while (1)
 | 
			
		||||
                           {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user