30 Jun
2005
30 Jun
'05
3:49 a.m.
Hi James, James Hawkins wrote:
These changes make the advapi32 tests pass as well.
Changelog * Fix calculation of generic pointers. * Minor cleanups.
Thanks for the fixes. This makes Office 2003 work again for me.
if ((DWORD)(pAceHeader + dwAceSize) > (DWORD)(pAcl + pAcl->AclSize)) return STATUS_ALLOTTED_SPACE_EXCEEDED;
I think you might have missed one here. The above pointer arithmetic seems like it will make the wrong calculation. Maybe something like the following would work better: if ( &((char*)pAceHeader)[dwAceSize] > &((char*)pAcl)[pAcl->AclSize] ) Mike
7469
Age (days ago)
7469
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike McCormack