Thanks for taking the time to report this bug and helping to make Ubuntu better.
I took a look at your patch and I don't think it is the best solution. As far 
as I can tell, the problem is actually caused because of toolchain (gcc) 
version in bionic. I've tried to build the same version of pam-python on Xenial 
and it worked. So changing the logic, like your patch does, will probably break 
something else during execution or bring up other problems.
Also checking the build of pam-python with gcc8 brings up more errors during 
build, besides the one you mentioned. So the project needs an update.
Have you tried to contact upstream maintainer?
http://pam-python.sourceforge.net/
It seems like the project is not being developed anymore, so it might be 
difficult to get an answer, but worth a try.
Let me know if you have problems in contacting upstream maintainer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1794999

Title:
  wrong null pointer check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam-python/+bug/1794999/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to