/[rdesktop]/sourceforge.net/trunk/rdesktop/rdp.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 738 by astrand, Mon Jul 12 21:07:39 2004 UTC revision 773 by jsorg71, Sat Sep 11 22:57:42 2004 UTC
# Line 1071  process_data_pdu(STREAM s, uint32 * ext_ Line 1071  process_data_pdu(STREAM s, uint32 * ext_
1071          uint8 ctype;          uint8 ctype;
1072          uint16 clen;          uint16 clen;
1073          uint32 len;          uint32 len;
1074            static int max_size;
1075    
1076          uint32 roff, rlen;          uint32 roff, rlen;
1077    
# Line 1085  process_data_pdu(STREAM s, uint32 * ext_ Line 1086  process_data_pdu(STREAM s, uint32 * ext_
1086    
1087          if (ctype & RDP_MPPC_COMPRESSED)          if (ctype & RDP_MPPC_COMPRESSED)
1088          {          {
1089                    if (len > RDP_MPPC_DICT_SIZE)
1090                      error("error decompressed packet size exceeds max\n");
1091                  if (mppc_expand(s->p, clen, ctype, &roff, &rlen) == -1)                  if (mppc_expand(s->p, clen, ctype, &roff, &rlen) == -1)
1092                          error("error while decompressing packet\n");                          error("error while decompressing packet\n");
1093    

Legend:
Removed from v.738  
changed lines
  Added in v.773

  ViewVC Help
Powered by ViewVC 1.1.26