Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CERT_INFO.rgExtension metadata isn't consistent with docs #951

Closed
AArnott opened this issue Jun 3, 2022 · 1 comment
Closed

CERT_INFO.rgExtension metadata isn't consistent with docs #951

AArnott opened this issue Jun 3, 2022 · 1 comment
Assignees
Labels
broken api An API is inaccurate and could lead to runtime failure

Comments

@AArnott
Copy link
Member

AArnott commented Jun 3, 2022

The metadata describes CERT_INFO.rgExtension as a pointer to a CERT_EXTENSION struct. But the documentation indicates the field is "An array of pointers to CERT_EXTENSION structures", suggesting this last field is actually an inline array of pointers instead of just one pointer.

@AArnott AArnott added the broken api An API is inaccurate and could lead to runtime failure label Jun 3, 2022
@riverar
Copy link
Collaborator

riverar commented Jun 10, 2022

Perhaps we should add another field to NativeArrayInfoAttribute to track which struct field contains length information (e.g. CountFieldName)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken api An API is inaccurate and could lead to runtime failure
Projects
None yet
Development

No branches or pull requests

4 participants