Segfault in Security framework: AuthorizationExecuteWithPrivileges() wrapper

Issue #234 resolved
Vangelis Koukis
created an issue

I am playing with pyobjc's wrapper for AuthorizationExecuteWithPrivileges(). The documentation says I should be able to pass "NULL" as the value of the last argument, if I don't need a communications channel:

However, Python segfaults if I call the wrapper with objc.NULL as its last argument.

It seems the code passes NULL properly at:

But then still wants to build and return a Python value from the now-uninitialized value of FILE * communicationsPipe at:

Comments (2)

  1. Log in to comment