VirtualBox

Ignore:
Timestamp:
Jan 11, 2019 2:44:34 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128107
Message:

RDP: add client-1.8.4.
bugref:9356: Update rdesktop-vrdp to 1.8.4
client-1.8.4 is a Subversion copy of 1.8.3 with the upstream 1.8.3 to 1.8.4
patch applied and a couple of fixes and changes after review, namely:

  • Stopped disabling the new pointer data format for our build, as this is no

longer needed.

  • Adjusted some snprintf buffers to make GCC happy.
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  
    658658        int length;
    659659        int tagval;
     660        struct stream packet;
    660661
    661662        s = tcp_recv(NULL, 4);
     
    683684        // receive the remainings of message
    684685        s = tcp_recv(s, length);
     686        packet = *s;
    685687
    686688#if WITH_DEBUG_CREDSSP
     
    699701            tagval != (BER_TAG_CTXT_SPECIFIC | BER_TAG_CONSTRUCTED | 0))
    700702                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        }
    701709        in_uint8s(s, length);
    702710
     
    720728                        return False;
    721729
    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);
    723738                out_uint8p(token, s->p, length);
    724739                s_mark_end(token);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette