header ajustment in sec_process_mcs_data from up19-7-3

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@89 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Jay Sorg 2002-08-04 03:42:47 +00:00
parent 720a67fb61
commit 13fb99fc12

View File

@ -547,8 +547,12 @@ sec_process_mcs_data(STREAM s)
{ {
uint16 tag, length; uint16 tag, length;
uint8 *next_tag; uint8 *next_tag;
uint8 len;
in_uint8s(s, 23); /* header */ in_uint8s(s, 21); /* header */
in_uint8(s, len);
if (len & 0x80)
in_uint8(s, len);
while (s->p < s->end) while (s->p < s->end)
{ {