pamh allowed to be NULL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

the LSB PAM test suite expects that pamh can be NULL and the function
should not crash. With the current optimizations and usage of nonnull
attribute, it seems this is not always true anymore. I know it is
debateable if a library should crash in such cases or not and that
everybody has another opinion.

My question is: Is there any documentation which tells us how
a PAM function should behave if the pamh argument is NULL? I cannot
find this, even the LSB spec itself says nothing about this.

  Thorsten
-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@xxxxxxx
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux