Skip to content

Instantly share code, notes, and snippets.

@jonyesno
Created June 11, 2011 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonyesno/1020643 to your computer and use it in GitHub Desktop.
Save jonyesno/1020643 to your computer and use it in GitHub Desktop.
Prevent saslauthd spinning on usernames or passwords containing "
--- saslauthd/auth_rimap.c.orig 2011-06-11 15:58:59.000000000 +0100
+++ saslauthd/auth_rimap.c 2011-06-11 16:01:37.000000000 +0100
@@ -163,6 +163,7 @@
p1 = s;
while ((p1 = strchr(p1, '"')) != NULL) {
num_quotes++;
+ p1++;
}
if (!num_quotes) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment