Closed mehlert closed 10 months ago
Pointer error: According to the definition of struct pam_message
struct pam_message { int msg_style; const char *msg; };
the member msg is a pointer to a string and not the address of the string.
Previous code may lead to segmentation fault inside application-defined callback trying to access the msg.
Pointer error: According to the definition of struct pam_message
struct pam_message { int msg_style; const char *msg; };
the member msg is a pointer to a string and not the address of the string.
Previous code may lead to segmentation fault inside application-defined callback trying to access the msg.