sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.19k stars 220 forks source link

regress: testhelpers: Check before using pointer #221

Closed likunyur closed 1 year ago

likunyur commented 1 year ago

The check before pointer use may help the program to be more robust.

millert commented 1 year ago

Fixed a different way along with other unchecked memory allocations in the python tests.