[Pidgin] #3459: Can't log in w/ password containing special character(s) (%, &)
Pidgin
trac at pidgin.im
Sat Mar 1 21:59:07 EST 2014
#3459: Can't log in w/ password containing special character(s) (%, &)
-----------------------------------------------+--------------------------
Reporter: jkeyser14 | Owner: MarkDoliner
Type: defect | Status: new
Milestone: | Component: AIM
Version: 2.5.8 | Resolution:
Keywords: special character password log in |
-----------------------------------------------+--------------------------
Comment (by awad):
'''this would be enough for this issue :-'''
#include <sys/types.h>
#include <pwd.h>
#include <stddef.h>
#include <string.h>
struct passwd *
getpwnam(const char *name)
{
struct passwd *ptr;
setpwent();
while ( (ptr = getpwent()) != NULL) {
if (strcmp(name, ptr->pw_name) == 0)
break; /* found a match */
}
endpwent();
return(ptr); /* ptr is NULL if no match found */
}
--
Ticket URL: <https://developer.pidgin.im/ticket/3459#comment:5>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list