mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 02:45:25 +00:00
ensure that shifted property ids are correctly "masked" to 16-bit integers
This commit is contained in:
@@ -104,11 +104,15 @@ static Class NSArrayK;
|
||||
{
|
||||
BOOL listedProperties[65536];
|
||||
NSUInteger count;
|
||||
uint16_t propId;
|
||||
|
||||
memset (listedProperties, NO, 65536 * sizeof (BOOL));
|
||||
[super getAvailableProperties: propertiesP inMemCtx: memCtx];
|
||||
for (count = 0; count < (*propertiesP)->cValues; count++)
|
||||
listedProperties[(*propertiesP)->aulPropTag[count] >> 16] = YES;
|
||||
{
|
||||
propId = ((*propertiesP)->aulPropTag[count] >> 16) & 0xffff;
|
||||
listedProperties[propId] = YES;
|
||||
}
|
||||
[MAPIStoreAppointmentWrapper fillAvailableProperties: *propertiesP
|
||||
withExclusions: listedProperties];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user