Displaying 1 result from an estimated 1 matches for "auth_request_new".
2008 May 16
3
Trim trailing whitespace from username
...cot-1.1.rc5/src/auth/auth-request.c 2008-05-04
15:01:52.000000000 -0700
+++ dovecot-1.1.rc5-patched/src/auth/auth-request.c 2008-05-16
00:44:15.000000000 -0700
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <sys/stat.h>
+#include <ctype.h>
struct auth_request *
auth_request_new(struct auth *auth, const struct mech_module *mech,
@@ -750,6 +751,7 @@
{
unsigned char *p;
char *user;
+ size_t size;
if (strchr(username, '@') == NULL &&
request->auth->default_realm != NULL) {
@@ -759,6 +761,16 @@...