who can tell me why there is a "plus 5" ( s = iso_init(length + 5); )statement in mcs_send_connect_initial function
"phil song" <[email protected]>
| Newsgroups | gmane.network.rdesktop.devel |
|---|---|
| Organization | Techtrex.Inc |
| Message-ID | <[email protected]> |
Hi,rdesktop-devel,
who can tell me why there is a "plus 5" ( s = iso_init(length + 5);)statement in mcs_send_connect_initial function
/* Send an MCS_CONNECT_INITIAL message (ASN.1 BER) */
static void
mcs_send_connect_initial(STREAM mcs_data)
{
int datalen = mcs_data->end - mcs_data->data;
int length = 7 + 3 * 34 + 4 + datalen;
STREAM s;
s = iso_init(length + 5); //why we add 5 to iso_init parameter??I think it doesnot need!
……
』
Best Regards,
phil song
[email protected]
2010-02-20
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
rdesktop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-devel