make sure next_packet is not null

ulab-original
jsorg71 18 years ago
parent 25f5915a44
commit f2f8bb727d

@ -122,7 +122,8 @@ libxrdp_process_data(struct xrdp_session* session)
}
if (cont)
{
cont = session->s->next_packet < session->s->end;
cont = (session->s->next_packet != 0) &&
(session->s->next_packet < session->s->end);
}
}
return rv;

Loading…
Cancel
Save