Site icon EfmSoft

What does Windows error code 1338 (ERROR_INVALID_SECURITY_DESCR) mean?

 
Previous Next
ERROR_INVALID_SID ERROR_BAD_INHERITANCE_ACL

ERROR_INVALID_SECURITY_DESCR

ERROR_INVALID_SECURITY_DESCR (1338, 0x0000053A) means that a security descriptor or one of its supplied components is structurally invalid. It should be investigated as malformed security data, not as an ordinary permissions failure.

Validate at more than one level

IsValidSecurityDescriptor checks the components that are present in a security descriptor, but it does not validate the contents of individual ACLs or ACEs. A descriptor can therefore require separate validation of its DACL or SACL with IsValidAcl, and of any supplied SID with IsValidSid.

Common construction mistakes

See Microsoft documentation for IsValidSecurityDescriptor, InitializeSecurityDescriptor, and DACL handling.


Looking for a different code? Search another status or error code.

Exit mobile version