Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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