Skip to content

NPE platform.win32.Netapi32Util.getDomainTrusts(Netapi32Util.java:609) #78

@nirving

Description

@nirving

Seems that I am working with some Domain Trusts that do not DNS entries and this is causing some issues because the code assumes that a String will always be returned.
Looking at the lines 609 and 610
@ https://github.com/twall/jna/blob/master/contrib/platform/src/com/sun/jna/platform/win32/Netapi32Util.java
a NPE could be thrown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions