Skip to content

Commit

Permalink
fix TSCoreProps sanity check on Windows Server 2016
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau authored and awakecoding committed Oct 25, 2024
1 parent 32a26ee commit 667d377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dll/TSObjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool TsPropertyMap_IsCoreProps(ITSPropertySet* pTSPropertySet)
propCount = pTSPropertySet->propCount;
propMap = pTSPropertySet->propMap;

if ((propCount < 175) || (propCount > 500))
if ((propCount < 100) || (propCount > 500))
return false;

if (!MsRdpEx_CanReadUnsafePtr((void*)propMap, propCount * sizeof(PROPERTY_ENTRY_EX)))
Expand Down

0 comments on commit 667d377

Please sign in to comment.