Changeset 76779 in vbox for trunk/src/VBox/RDP/client-1.8.4/cssp.c
- Timestamp:
- Jan 11, 2019 2:44:34 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128107
- Location:
- trunk/src/VBox/RDP/client-1.8.4
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client-1.8.4/cssp.c
r55123 r76779 658 658 int length; 659 659 int tagval; 660 struct stream packet; 660 661 661 662 s = tcp_recv(NULL, 4); … … 683 684 // receive the remainings of message 684 685 s = tcp_recv(s, length); 686 packet = *s; 685 687 686 688 #if WITH_DEBUG_CREDSSP … … 699 701 tagval != (BER_TAG_CTXT_SPECIFIC | BER_TAG_CONSTRUCTED | 0)) 700 702 return False; 703 704 if (!s_check_rem(s, length)) 705 { 706 rdp_protocol_error("cssp_read_tsrequest(), consume of version from stream would overrun", 707 &packet); 708 } 701 709 in_uint8s(s, length); 702 710 … … 720 728 return False; 721 729 722 token->end = token->p = token->data; 730 if (!s_check_rem(s, length)) 731 { 732 rdp_protocol_error("cssp_read_tsrequest(), consume of token from stream would overrun", 733 &packet); 734 } 735 736 s_realloc(token, length); 737 s_reset(token); 723 738 out_uint8p(token, s->p, length); 724 739 s_mark_end(token);
Note:
See TracChangeset
for help on using the changeset viewer.