Consume all TPKT data reading new/upgrade license

This commit is contained in:
Armin Novak 2020-03-05 11:27:33 +01:00 committed by akallabeth
parent f1098aa17c
commit 07605b0281
1 changed files with 3 additions and 0 deletions

View File

@ -1245,6 +1245,9 @@ BOOL license_read_new_or_upgrade_license_packet(rdpLicense* license, wStream* s)
goto out_free_blob;
}
if (!Stream_SafeSeek(s, 16))
goto out_free_blob;
licenseStream = Stream_New(calBlob->data, calBlob->length);
if (!licenseStream)
goto out_free_blob;